From 0aa6b7ec4c13a7bb4cccc8ec27f97a7fd58ad7fb Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 18 Dec 2023 11:23:36 +0800 Subject: [PATCH 1/3] temp: run all test Signed-off-by: SuZhou-Joe --- .github/workflows/alerting-release-e2e-workflow.yml | 2 +- .github/workflows/anomaly-detection-release-e2e-workflow.yml | 2 +- .../custom-import-map-dashboards-release-e2e-workflow.yml | 2 +- .../cypress-workflow-bundle-snapshot-based-windows.yml | 4 ++-- .github/workflows/cypress-workflow-bundle-snapshot-based.yml | 4 ++-- .github/workflows/gantt-chart-release-e2e-workflow.yml | 2 +- .github/workflows/index-management-release-e2e-workflow.yml | 2 +- .github/workflows/ml-commons-release-e2e-workflow.yml | 2 +- .github/workflows/notifications-release-e2e-workflow.yml | 2 +- .github/workflows/observability-release-e2e-workflow.yml | 2 +- .github/workflows/query-workbench-release-e2e-workflow.yml | 2 +- .github/workflows/reports-release-e2e-workflow.yml | 2 +- .github/workflows/search-relevance-release-e2e-workflow.yml | 2 +- .github/workflows/security-analytics-release-e2e-workflow.yml | 2 +- .github/workflows/security-release-e2e-workflow.yml | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/alerting-release-e2e-workflow.yml b/.github/workflows/alerting-release-e2e-workflow.yml index ca809f0d7..590640bdf 100644 --- a/.github/workflows/alerting-release-e2e-workflow.yml +++ b/.github/workflows/alerting-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/anomaly-detection-release-e2e-workflow.yml b/.github/workflows/anomaly-detection-release-e2e-workflow.yml index 3b3a9a7d8..3387d5f03 100644 --- a/.github/workflows/anomaly-detection-release-e2e-workflow.yml +++ b/.github/workflows/anomaly-detection-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 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 df00b9c2e..7b4d81df2 100644 --- a/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml +++ b/.github/workflows/custom-import-map-dashboards-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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: Maps Dashboards 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/gantt-chart-release-e2e-workflow.yml b/.github/workflows/gantt-chart-release-e2e-workflow.yml index a76240c9e..4b3a65fe7 100644 --- a/.github/workflows/gantt-chart-release-e2e-workflow.yml +++ b/.github/workflows/gantt-chart-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/index-management-release-e2e-workflow.yml b/.github/workflows/index-management-release-e2e-workflow.yml index 467f38f60..8efa04e67 100644 --- a/.github/workflows/index-management-release-e2e-workflow.yml +++ b/.github/workflows/index-management-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/ml-commons-release-e2e-workflow.yml b/.github/workflows/ml-commons-release-e2e-workflow.yml index 7998afab6..790264b31 100644 --- a/.github/workflows/ml-commons-release-e2e-workflow.yml +++ b/.github/workflows/ml-commons-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/notifications-release-e2e-workflow.yml b/.github/workflows/notifications-release-e2e-workflow.yml index fc8973992..7dbc6f73c 100644 --- a/.github/workflows/notifications-release-e2e-workflow.yml +++ b/.github/workflows/notifications-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/observability-release-e2e-workflow.yml b/.github/workflows/observability-release-e2e-workflow.yml index d94d138e1..ea1560d2e 100644 --- a/.github/workflows/observability-release-e2e-workflow.yml +++ b/.github/workflows/observability-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/query-workbench-release-e2e-workflow.yml b/.github/workflows/query-workbench-release-e2e-workflow.yml index 14108003e..51b57c2a2 100644 --- a/.github/workflows/query-workbench-release-e2e-workflow.yml +++ b/.github/workflows/query-workbench-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/reports-release-e2e-workflow.yml b/.github/workflows/reports-release-e2e-workflow.yml index 3c5132c39..8fe82a10c 100644 --- a/.github/workflows/reports-release-e2e-workflow.yml +++ b/.github/workflows/reports-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 diff --git a/.github/workflows/search-relevance-release-e2e-workflow.yml b/.github/workflows/search-relevance-release-e2e-workflow.yml index 8a83109a7..69c1a7a9b 100644 --- a/.github/workflows/search-relevance-release-e2e-workflow.yml +++ b/.github/workflows/search-relevance-release-e2e-workflow.yml @@ -16,7 +16,7 @@ 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 diff --git a/.github/workflows/security-analytics-release-e2e-workflow.yml b/.github/workflows/security-analytics-release-e2e-workflow.yml index dd708bb75..f8becc57c 100644 --- a/.github/workflows/security-analytics-release-e2e-workflow.yml +++ b/.github/workflows/security-analytics-release-e2e-workflow.yml @@ -20,7 +20,7 @@ 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 diff --git a/.github/workflows/security-release-e2e-workflow.yml b/.github/workflows/security-release-e2e-workflow.yml index 4ed0901a3..19cbbd520 100644 --- a/.github/workflows/security-release-e2e-workflow.yml +++ b/.github/workflows/security-release-e2e-workflow.yml @@ -17,7 +17,7 @@ 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 From 1a8d96f31782ee45c13aa1037df86104fbc1fc78 Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 18 Dec 2023 14:51:12 +0800 Subject: [PATCH 2/3] feat: disable command log to unhang all the test Signed-off-by: SuZhou-Joe --- cypress.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress.json b/cypress.json index 2b6abb7db..fe64f3a34 100644 --- a/cypress.json +++ b/cypress.json @@ -21,6 +21,7 @@ "DATASOURCE_MANAGEMENT_ENABLED": false, "ML_COMMONS_DASHBOARDS_ENABLED": true, "WAIT_FOR_LOADER_BUFFER_MS": 0, - "DASHBOARDS_ASSISTANT_ENABLED": false + "DASHBOARDS_ASSISTANT_ENABLED": false, + "NO_COMMAND_LOG": 1 } } From 7f709eecdbf975d89e1cbf55a27236cd6cbe20b0 Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Sun, 18 Feb 2024 16:13:13 +0800 Subject: [PATCH 3/3] run assistant tests Signed-off-by: Lin Wang --- .github/workflows/assistant-release-e2e-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/assistant-release-e2e-workflow.yml b/.github/workflows/assistant-release-e2e-workflow.yml index d17d60889..1ec3281db 100644 --- a/.github/workflows/assistant-release-e2e-workflow.yml +++ b/.github/workflows/assistant-release-e2e-workflow.yml @@ -17,7 +17,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: dashboards assistant