> opensearch-dashboards-functional-test@2.15.0 postinstall > husky install husky - Git hooks installed added 369 packages, and audited 370 packages in 7s 3 vulnerabilities (2 moderate, 1 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. Test Files List: cypress/integration/plugins/security/audit_log_spec.js cypress/integration/plugins/security/auth_spec.js cypress/integration/plugins/security/get_started_spec.js cypress/integration/plugins/security/internalusers_spec.js cypress/integration/plugins/security/permissions_spec.js cypress/integration/plugins/security/roles_spec.js cypress/integration/plugins/security/tenants_spec.js BROWSER_PATH: electron run security enabled tests yarn run v1.22.21 $ env TZ=America/Los_Angeles NO_COLOR=1 cypress run --headless --env SECURITY_ENABLED=true,openSearchUrl=https://localhost:9200,WAIT_FOR_LOADER_BUFFER_MS=3000 --browser electron --spec 'cypress/integration/plugins/security/*' It looks like this is your first time using Cypress: 9.5.4 [STARTED] Task without title. [SUCCESS] Task without title. Opening Cypress... ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Cypress: 9.5.4 │ │ Browser: Electron 94 (headless) │ │ Node Version: v18.19.0 (/home/ci-runner/.nvm/versions/node/v18.19.0/bin/node) │ │ Specs: 7 found (plugins/security/audit_log_spec.js, plugins/security/auth_spec.js, pl │ │ ugins/security/get_started_spec.js, plugins/security/internalusers_spec.js, pl │ │ ugins/security/permissions_spec.js, plugins/security/roles_spec.js, plugins/se │ │ curity/tenants_spec.js) │ │ Searched: cypress/integration/plugins/security/* │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: plugins/security/audit_log_spec.js (1 of 7) Audit logs page ✓ should load Audit logs page properly (14894ms) ✓ should toggle enable-disable switch for audit logging (8022ms) ✓ should configure general settings successfully ✓ should configure compliance settings successfully 4 passing (31s) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 4 │ │ Passing: 4 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 31 seconds │ │ Spec Ran: plugins/security/audit_log_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /tmp/tmph5cm4ys9/securityDashboards/cypress/videos/plugins/ (7 seconds) security/audit_log_spec.js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: plugins/security/auth_spec.js (2 of 7) Authc and Authz page ✓ authentication and authorization section should exist (11402ms) ✓ View Expression Modal should display and close correctly (6484ms) 2 passing (18s) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 2 │ │ Passing: 2 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 18 seconds │ │ Spec Ran: plugins/security/auth_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /tmp/tmph5cm4ys9/securityDashboards/cypress/videos/plugins/ (4 seconds) security/auth_spec.js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: plugins/security/get_started_spec.js (3 of 7) Home(Get Started) page 1) should load Home page properly ✓ should redirect to Auth page (5985ms) ✓ should redirect to view Roles page ✓ should redirect to create Roles page ✓ should redirect to view Users page ✓ should redirect to create Users page ✓ should redirect to Audit Logging page ✓ should purge Cache successfully 7 passing (39s) 1 failing 1) Home(Get Started) page should load Home page properly: AssertionError: Timed out retrying after 10000ms: Expected to find content: 'Get started' within the selector: 'h1' but never did. at Context.eval (http://localhost:5601/__cypress/tests?p=cypress/integration/plugins/security/get_started_spec.js:170:10) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 8 │ │ Passing: 7 │ │ Failing: 1 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 1 │ │ Video: true │ │ Duration: 38 seconds │ │ Spec Ran: plugins/security/get_started_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - /tmp/tmph5cm4ys9/securityDashboards/cypress/screenshots/plugins/security/get_sta (1280x720) rted_spec.js/Home(Get Started) page -- should load Home page properly (failed).p ng (Video) - Started processing: Compressing to 32 CRF - Finished processing: /tmp/tmph5cm4ys9/securityDashboards/cypress/videos/plugins/ (8 seconds) security/get_started_spec.js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: plugins/security/internalusers_spec.js (4 of 7) Internal users page ✓ should load internal users page properly (11166ms) ✓ should view user edit page when a user is clicked (6475ms) ✓ should redirect to create new users page (5104ms) ✓ should create new user successfully (8615ms) 4 passing (32s) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 4 │ │ Passing: 4 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 31 seconds │ │ Spec Ran: plugins/security/internalusers_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /tmp/tmph5cm4ys9/securityDashboards/cypress/videos/plugins/ (6 seconds) security/internalusers_spec.js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: plugins/security/permissions_spec.js (5 of 7) Permissions page ✓ should load Permissions page properly (11269ms) ✓ should expand an action-group when it is clicked (6345ms) ✓ should open modal with options to create new action group page (5133ms) ✓ should create new action group successfully by selecting `Create from blank` (5957ms) ✓ should create new action group successfully by selecting `Create from selection` (9476ms) 5 passing (39s) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 5 │ │ Passing: 5 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 38 seconds │ │ Spec Ran: plugins/security/permissions_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /tmp/tmph5cm4ys9/securityDashboards/cypress/videos/plugins/ (8 seconds) security/permissions_spec.js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: plugins/security/roles_spec.js (6 of 7) Roles page ✓ should load Roles page properly (12851ms) ✓ should open Cluster Permissions drop-down menu when clicked (6428ms) ✓ should redirect to create new role page (5562ms) ✓ should create new role successfully (5478ms) 4 passing (31s) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 4 │ │ Passing: 4 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 30 seconds │ │ Spec Ran: plugins/security/roles_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /tmp/tmph5cm4ys9/securityDashboards/cypress/videos/plugins/ (6 seconds) security/roles_spec.js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: plugins/security/tenants_spec.js (7 of 7) Tenants page ✓ should load Tenants page properly (11671ms) ✓ should create new tenant successfully by selecting `Create tenant` (10510ms) 2 passing (22s) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 2 │ │ Passing: 2 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 22 seconds │ │ Spec Ran: plugins/security/tenants_spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: /tmp/tmph5cm4ys9/securityDashboards/cypress/videos/plugins/ (4 seconds) security/tenants_spec.js.mp4 ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ✔ plugins/security/audit_log_spec.js 00:31 4 4 - - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ plugins/security/auth_spec.js 00:18 2 2 - - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✖ plugins/security/get_started_spec.j 00:38 8 7 1 - - │ │ s │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ plugins/security/internalusers_spec 00:31 4 4 - - - │ │ .js │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ plugins/security/permissions_spec.j 00:38 5 5 - - - │ │ s │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ plugins/security/roles_spec.js 00:30 4 4 - - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ plugins/security/tenants_spec.js 00:22 2 2 - - - │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ✖ 1 of 7 failed (14%) 03:30 29 28 1 - - info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.