> opensearch-dashboards-functional-test@2.15.0 postinstall > husky install husky - Git hooks installed added 369 packages, and audited 370 packages in 11s 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/core-opensearch-dashboards/opensearch-dashboards/"apps/data_explorer/aaa_before.spec.js cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/inspector.spec.js cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/large_string.spec.js cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/saved_queries.spec.js cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/shared_links.spec.js cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/sidebar.spec.js cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/source_filter.spec.js cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/zzz_after.spec.js" BROWSER_PATH: C:/Users/ContainerAdministrator/tmps1x8z85e/OpenSearch-Dashboards-ci-group-9/chromium/chrome-win/chrome.exe 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 C:/Users/ContainerAdministrator/tmps1x8z85e/OpenSearch-Dashboards-ci-group-9/chromium/chrome-win/chrome.exe --spec ^"cypress/integration/core-opensearch-dashboards/opensearch-dashboards/\^"apps/data_explorer/aaa_before.spec.js,cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/inspector.spec.js,cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/large_string.spec.js,cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/saved_queries.spec.js,cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/shared_links.spec.js,cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/sidebar.spec.js,cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/source_filter.spec.js,cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/zzz_after.spec.js\^"^" ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Cypress: 9.5.4 │ │ Browser: Custom Chrome 112 (headless) │ │ Node Version: v18.19.0 (C:\Users\ContainerAdministrator\scoop\apps\volta\1.0.8\appdata\tools │ │ \image\node\18.19.0\node.exe) │ │ Specs: 6 found (core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/i │ │ nspector.spec.js, core-opensearch-dashboards/opensearch-dashboards/apps/data_e │ │ xplorer/large_string.spec.js, core-opensearch-dashboards/opensearch-dashboards │ │ /apps/data_explorer/sa...) │ │ Searched: cypress\integration\core-opensearch-dashboards\opensearch-dashboards\"apps\dat │ │ a_explorer\aaa_before.spec.js, cypress\integration\core-opensearch-dashboards\ │ │ opensearch-dashboards\apps\data_explorer\inspector.spec.js, cypress\integratio │ │ n\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\large_st │ │ ring.spec.js, cypress\integration\core-opensearch-dashboards\opensearch-dashbo │ │ ards\apps\data_explorer\saved_queries.spec.js, cypress\integration\core-opense │ │ arch-dashboards\opensearch-dashboards\apps\data_explorer\shared_links.spec.js, │ │ cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\dat │ │ a_explorer\sidebar.spec.js, cypress\integration\core-opensearch-dashboards\ope │ │ nsearch-dashboards\apps\data_explorer\source_filter.spec.js, cypress\integrati │ │ on\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\zzz_aft │ │ er.spec.js" │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/ (1 of 6) inspector.spec.js inspector 1) "before all" hook for "should display request stats with no results" 0 passing (258ms) 1 failing 1) inspector "before all" hook for "should display request stats with no results": SyntaxError: Unexpected non-whitespace character after JSON at position 8488 Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `inspector` at JSON.parse () at eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\inspector.spec.js:3467:27) at Array.forEach () at Context.eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\inspector.spec.js:3466:16) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 2 │ │ Passing: 0 │ │ Failing: 1 │ │ Pending: 0 │ │ Skipped: 1 │ │ Screenshots: 1 │ │ Video: true │ │ Duration: 0 seconds │ │ Spec Ran: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/inspector.sp │ │ ec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dashboards-ci-group-9\cyp (1280x720) ress\screenshots\core-opensearch-dashboards\opensearch-dashboards\apps\data_expl orer\inspector.spec.js\inspector -- should display request stats with no results -- before all hook (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dash (0 seconds) boards-ci-group-9\cypress\videos\core-opensearch-dashboards \opensearch-dashboards\apps\data_explorer\inspector.spec.js .mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/ (2 of 6) large_string.spec.js test large strings 1) "before all" hook for "verify the large string book present" 0 passing (372ms) 1 failing 1) test large strings "before all" hook for "verify the large string book present": SyntaxError: Unexpected non-whitespace character after JSON at position 7921 Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `test large strings` at JSON.parse () at eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\large_string.spec.js:3483:27) at Array.forEach () at Context.eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\large_string.spec.js:3482:16) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 4 │ │ Passing: 0 │ │ Failing: 1 │ │ Pending: 0 │ │ Skipped: 3 │ │ Screenshots: 1 │ │ Video: true │ │ Duration: 0 seconds │ │ Spec Ran: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/large_string │ │ .spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dashboards-ci-group-9\cyp (1280x720) ress\screenshots\core-opensearch-dashboards\opensearch-dashboards\apps\data_expl orer\large_string.spec.js\test large strings -- verify the large string book pre sent -- before all hook (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dash (0 seconds) boards-ci-group-9\cypress\videos\core-opensearch-dashboards \opensearch-dashboards\apps\data_explorer\large_string.spec .js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/ (3 of 6) saved_queries.spec.js saved queries saved objects saved query management component functionality - should show the saved query management component when there are no saved queries - should allow a query to be saved via the saved objects management component - reinstates filters and the time filter when a saved query has filters and a time filter included - preserves the currently loaded query when the page is reloaded - allows saving changes to a currently loaded query via the saved query management component - allows saving the currently loaded query as a new query - allows deleting the currently loaded saved query in the saved query management component and clears the query - does not allow saving a query with a non-unique name - resets any changes to a loaded query on reloading the same saved query - allows clearing the currently loaded saved query - changing language removes saved query 0 passing (42ms) 11 pending (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 11 │ │ Passing: 0 │ │ Failing: 0 │ │ Pending: 11 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 0 seconds │ │ Spec Ran: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/saved_querie │ │ s.spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dash (0 seconds) boards-ci-group-9\cypress\videos\core-opensearch-dashboards \opensearch-dashboards\apps\data_explorer\saved_queries.spe c.js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/ (4 of 6) shared_links.spec.js shared links 1) "before all" hook for "should allow for copying the snapshot URL" 0 passing (7s) 1 failing 1) shared links shared links with state in query "before all" hook for "should allow for copying the snapshot URL": SyntaxError: Unexpected non-whitespace character after JSON at position 12343 Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `shared links` at JSON.parse () at eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\shared_links.spec.js:3590:46) at Array.forEach () at Context.eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\shared_links.spec.js:3589:25) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 6 │ │ Passing: 0 │ │ Failing: 1 │ │ Pending: 0 │ │ Skipped: 5 │ │ Screenshots: 1 │ │ Video: true │ │ Duration: 6 seconds │ │ Spec Ran: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/shared_links │ │ .spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dashboards-ci-group-9\cyp (1280x720) ress\screenshots\core-opensearch-dashboards\opensearch-dashboards\apps\data_expl orer\shared_links.spec.js\shared links -- should allow for copying the snapshot URL -- before all hook (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dash (0 seconds) boards-ci-group-9\cypress\videos\core-opensearch-dashboards \opensearch-dashboards\apps\data_explorer\shared_links.spec .js.mp4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/ (5 of 6) sidebar.spec.js discover sidebar 1) "before all" hook for "should reveal and hide the filter form when the toggle is clicked" 0 passing (263ms) 1 failing 1) discover sidebar field filtering "before all" hook for "should reveal and hide the filter form when the toggle is clicked": SyntaxError: Unexpected non-whitespace character after JSON at position 12343 Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `discover sidebar` at JSON.parse () at eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\sidebar.spec.js:3512:46) at Array.forEach () at Context.eval (http://localhost:5601/__cypress/tests?p=cypress\integration\core-opensearch-dashboards\opensearch-dashboards\apps\data_explorer\sidebar.spec.js:3511:25) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 1 │ │ Passing: 0 │ │ Failing: 1 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 1 │ │ Video: true │ │ Duration: 0 seconds │ │ Spec Ran: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/sidebar.spec │ │ .js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Screenshots) - C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dashboards-ci-group-9\cyp (1280x720) ress\screenshots\core-opensearch-dashboards\opensearch-dashboards\apps\data_expl orer\sidebar.spec.js\discover sidebar -- should reveal and hide the filter form when the toggle is clicked -- before all hook (failed).png (Video) - Started processing: Compressing to 32 CRF - Finished processing: C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dash (0 seconds) boards-ci-group-9\cypress\videos\core-opensearch-dashboards \opensearch-dashboards\apps\data_explorer\sidebar.spec.js.m p4 ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/ (6 of 6) source_filter.spec.js source filters √ should not get the field referer (7192ms) 1 passing (7s) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 1 │ │ Passing: 1 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: true │ │ Duration: 7 seconds │ │ Spec Ran: core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/source_filte │ │ r.spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ (Video) - Started processing: Compressing to 32 CRF - Finished processing: C:\Users\ContainerAdministrator\tmps1x8z85e\OpenSearch-Dash (1 second) boards-ci-group-9\cypress\videos\core-opensearch-dashboards \opensearch-dashboards\apps\data_explorer\source_filter.spe c.js.mp4 ==================================================================================================== (Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ✖ core-opensearch-dashboards/opensear 257ms 2 - 1 - 1 │ │ ch-dashboards/apps/data_explorer/in │ │ spector.spec.js │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✖ core-opensearch-dashboards/opensear 370ms 4 - 1 - 3 │ │ ch-dashboards/apps/data_explorer/la │ │ rge_string.spec.js │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ core-opensearch-dashboards/opensear 35ms 11 - - 11 - │ │ ch-dashboards/apps/data_explorer/sa │ │ ved_queries.spec.js │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✖ core-opensearch-dashboards/opensear 00:06 6 - 1 - 5 │ │ ch-dashboards/apps/data_explorer/sh │ │ ared_links.spec.js │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✖ core-opensearch-dashboards/opensear 262ms 1 - 1 - - │ │ ch-dashboards/apps/data_explorer/si │ │ debar.spec.js │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ core-opensearch-dashboards/opensear 00:07 1 1 - - - │ │ ch-dashboards/apps/data_explorer/so │ │ urce_filter.spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ✖ 4 of 6 failed (67%) 00:14 25 1 4 11 9 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.