diff --git a/.github/workflows/alerting-release-e2e-workflow.yml b/.github/workflows/alerting-release-e2e-workflow.yml index ca809f0d7..eaa9e9a1d 100644 --- a/.github/workflows/alerting-release-e2e-workflow.yml +++ b/.github/workflows/alerting-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Alerting test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/alerting-dashboards-plugin/*' + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/anomaly-detection-release-e2e-workflow.yml b/.github/workflows/anomaly-detection-release-e2e-workflow.yml index 3b3a9a7d8..154f8aba5 100644 --- a/.github/workflows/anomaly-detection-release-e2e-workflow.yml +++ b/.github/workflows/anomaly-detection-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Anomaly Detection test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/anomaly-detection-dashboards-plugin/*' + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml b/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml index 0bf7fa279..71f4ec641 100644 --- a/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml +++ b/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Observability test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/custom-import-map-dashboards/*' + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml b/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml index 2a8b82fdf..b906fd6fc 100644 --- a/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml +++ b/.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml @@ -20,7 +20,7 @@ jobs: tests-with-security: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template-windows.yml with: test-name: Core Dashboards using Bundle Snapshot @@ -30,7 +30,7 @@ jobs: tests-without-security: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template-windows.yml with: test-name: Core Dashboards using Bundle Snapshot diff --git a/.github/workflows/cypress-workflow-bundle-snapshot-based.yml b/.github/workflows/cypress-workflow-bundle-snapshot-based.yml index b1038c86d..4887b9e76 100644 --- a/.github/workflows/cypress-workflow-bundle-snapshot-based.yml +++ b/.github/workflows/cypress-workflow-bundle-snapshot-based.yml @@ -20,7 +20,7 @@ jobs: tests-with-security: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Core Dashboards using Bundle Snapshot @@ -29,7 +29,7 @@ jobs: tests-without-security: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Core Dashboards using Bundle Snapshot diff --git a/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml b/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml index d24593e7a..f8d4d1a74 100644 --- a/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml +++ b/.github/workflows/cypress-workflow-vanilla-snapshot-based.yml @@ -17,6 +17,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Set up JDK uses: actions/setup-java@v1 diff --git a/.github/workflows/gantt-chart-release-e2e-workflow.yml b/.github/workflows/gantt-chart-release-e2e-workflow.yml index a76240c9e..923c5048d 100644 --- a/.github/workflows/gantt-chart-release-e2e-workflow.yml +++ b/.github/workflows/gantt-chart-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Gantt Chart test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/gantt-chart-dashboards/*' + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/index-management-release-e2e-workflow.yml b/.github/workflows/index-management-release-e2e-workflow.yml index 467f38f60..aaa94f4a9 100644 --- a/.github/workflows/index-management-release-e2e-workflow.yml +++ b/.github/workflows/index-management-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Index Management test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/index-management-dashboards-plugin/*' + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/lint_checker.yml b/.github/workflows/lint_checker.yml index 64a19ea38..c963d7a11 100644 --- a/.github/workflows/lint_checker.yml +++ b/.github/workflows/lint_checker.yml @@ -14,6 +14,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout cypress-test uses: actions/checkout@v2 diff --git a/.github/workflows/ml-commons-release-e2e-workflow.yml b/.github/workflows/ml-commons-release-e2e-workflow.yml index 7998afab6..050fed35f 100644 --- a/.github/workflows/ml-commons-release-e2e-workflow.yml +++ b/.github/workflows/ml-commons-release-e2e-workflow.yml @@ -17,9 +17,10 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: ML Commons test-command: env CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/ml-commons-dashboards/*' osd-serve-args: --ml_commons_dashboards.enabled=true + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/notifications-release-e2e-workflow.yml b/.github/workflows/notifications-release-e2e-workflow.yml index fc8973992..068ff6458 100644 --- a/.github/workflows/notifications-release-e2e-workflow.yml +++ b/.github/workflows/notifications-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Notifications test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/notifications-dashboards/*' + security-enabled: true diff --git a/.github/workflows/observability-release-e2e-workflow.yml b/.github/workflows/observability-release-e2e-workflow.yml index d94d138e1..2cf6e2818 100644 --- a/.github/workflows/observability-release-e2e-workflow.yml +++ b/.github/workflows/observability-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Observability test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/observability-dashboards/*' + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/query-workbench-release-e2e-workflow.yml b/.github/workflows/query-workbench-release-e2e-workflow.yml index 14108003e..f1c691d14 100644 --- a/.github/workflows/query-workbench-release-e2e-workflow.yml +++ b/.github/workflows/query-workbench-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Query Workbench test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/query-workbench-dashboards/*' + security-enabled: true \ No newline at end of file diff --git a/.github/workflows/release-e2e-workflow-template-windows.yml b/.github/workflows/release-e2e-workflow-template-windows.yml index e7ff7a6ae..3f8553a84 100644 --- a/.github/workflows/release-e2e-workflow-template-windows.yml +++ b/.github/workflows/release-e2e-workflow-template-windows.yml @@ -20,6 +20,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Set up JDK uses: actions/setup-java@v1 diff --git a/.github/workflows/release-e2e-workflow-template.yml b/.github/workflows/release-e2e-workflow-template.yml index 33ad16985..20fe3fa4d 100644 --- a/.github/workflows/release-e2e-workflow-template.yml +++ b/.github/workflows/release-e2e-workflow-template.yml @@ -23,6 +23,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Set up JDK uses: actions/setup-java@v1 diff --git a/.github/workflows/release-signoff-chrome.yml b/.github/workflows/release-signoff-chrome.yml index dec0b5fd0..9dc47ddb4 100644 --- a/.github/workflows/release-signoff-chrome.yml +++ b/.github/workflows/release-signoff-chrome.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-chromium-ad-only.yml b/.github/workflows/release-signoff-chromium-ad-only.yml index 14b9c8551..96cf1bc8e 100644 --- a/.github/workflows/release-signoff-chromium-ad-only.yml +++ b/.github/workflows/release-signoff-chromium-ad-only.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-chromium-ism-only.yml b/.github/workflows/release-signoff-chromium-ism-only.yml index c920f7f01..08aa34055 100644 --- a/.github/workflows/release-signoff-chromium-ism-only.yml +++ b/.github/workflows/release-signoff-chromium-ism-only.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-chromium-tests-in-memory-0.yml b/.github/workflows/release-signoff-chromium-tests-in-memory-0.yml index 8c9a7e416..8e4604747 100644 --- a/.github/workflows/release-signoff-chromium-tests-in-memory-0.yml +++ b/.github/workflows/release-signoff-chromium-tests-in-memory-0.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-chromium-tests-in-memory-10.yml b/.github/workflows/release-signoff-chromium-tests-in-memory-10.yml index 17e82077f..599054bb4 100644 --- a/.github/workflows/release-signoff-chromium-tests-in-memory-10.yml +++ b/.github/workflows/release-signoff-chromium-tests-in-memory-10.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-chromium-tests-in-memory-20.yml b/.github/workflows/release-signoff-chromium-tests-in-memory-20.yml index fbc92bbe8..3a32342cf 100644 --- a/.github/workflows/release-signoff-chromium-tests-in-memory-20.yml +++ b/.github/workflows/release-signoff-chromium-tests-in-memory-20.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-chromium-tests-in-memory-5.yml b/.github/workflows/release-signoff-chromium-tests-in-memory-5.yml index b49d4e4f7..8b2b6faf7 100644 --- a/.github/workflows/release-signoff-chromium-tests-in-memory-5.yml +++ b/.github/workflows/release-signoff-chromium-tests-in-memory-5.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-chromium.yml b/.github/workflows/release-signoff-chromium.yml index 6059c7f54..15015ef74 100644 --- a/.github/workflows/release-signoff-chromium.yml +++ b/.github/workflows/release-signoff-chromium.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-electron.yml b/.github/workflows/release-signoff-electron.yml index 8d874748e..140c69b52 100644 --- a/.github/workflows/release-signoff-electron.yml +++ b/.github/workflows/release-signoff-electron.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/release-signoff-firefox.yml b/.github/workflows/release-signoff-firefox.yml index a1e6b4a68..0f99fa5ed 100644 --- a/.github/workflows/release-signoff-firefox.yml +++ b/.github/workflows/release-signoff-firefox.yml @@ -11,6 +11,8 @@ jobs: CI: 1 # avoid warnings like "tput: No value for $TERM and no -T specified" TERM: xterm + # make Node run in ipv4 first so that cypress can detect 5601 port in CI environment + NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first' steps: - name: Checkout functional-test uses: actions/checkout@v2 diff --git a/.github/workflows/reports-release-e2e-workflow.yml b/.github/workflows/reports-release-e2e-workflow.yml index 3c5132c39..27c29c904 100644 --- a/.github/workflows/reports-release-e2e-workflow.yml +++ b/.github/workflows/reports-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Reports test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/reports-dashboards/*' + security-enabled: true diff --git a/.github/workflows/search-relevance-release-e2e-workflow.yml b/.github/workflows/search-relevance-release-e2e-workflow.yml index 8a83109a7..6deb497b6 100644 --- a/.github/workflows/search-relevance-release-e2e-workflow.yml +++ b/.github/workflows/search-relevance-release-e2e-workflow.yml @@ -16,8 +16,9 @@ jobs: - 'cypress/**/search-relevance-dashboards/**' tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Search Relevance test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/search-relevance-dashboards/*' + security-enabled: true diff --git a/.github/workflows/security-analytics-release-e2e-workflow.yml b/.github/workflows/security-analytics-release-e2e-workflow.yml index dd708bb75..57ea1cb9e 100644 --- a/.github/workflows/security-analytics-release-e2e-workflow.yml +++ b/.github/workflows/security-analytics-release-e2e-workflow.yml @@ -20,8 +20,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Security Analytics test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/security-analytics-dashboards-plugin/*' + security-enabled: true diff --git a/.github/workflows/security-release-e2e-workflow.yml b/.github/workflows/security-release-e2e-workflow.yml index 4ed0901a3..576285315 100644 --- a/.github/workflows/security-release-e2e-workflow.yml +++ b/.github/workflows/security-release-e2e-workflow.yml @@ -17,8 +17,9 @@ jobs: tests: needs: changes - if: ${{ needs.changes.outputs.tests == 'true' }} + ## if: ${{ needs.changes.outputs.tests == 'true' }} uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Security test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/security/*' + security-enabled: true \ No newline at end of file diff --git a/cypress.json b/cypress.json index f79ebf340..f5e5f5f72 100644 --- a/cypress.json +++ b/cypress.json @@ -20,6 +20,7 @@ "VISBUILDER_ENABLED": true, "DATASOURCE_MANAGEMENT_ENABLED": false, "ML_COMMONS_DASHBOARDS_ENABLED": true, - "WAIT_FOR_LOADER_BUFFER_MS": 0 + "WAIT_FOR_LOADER_BUFFER_MS": 0, + "NO_COMMAND_LOG": 1 } }