From 568f6d958b1d1a8b3a03f1e465b71cbfa11bf6a6 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 30 Jan 2025 09:20:55 -0800 Subject: [PATCH] fix: Revert "fix: re-enable cypress checks" (#32045) --- .gitignore | 1 - scripts/cypress_run.py | 1 - .../cypress-base/cypress/e2e/dashboard/drillby.test.ts | 2 +- .../cypress/e2e/dashboard/drilltodetail.test.ts | 8 ++++---- .../cypress/e2e/dashboard/horizontalFilterBar.test.ts | 6 +++--- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index e8714d70ab3b1..67bc771f84c1a 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,6 @@ *.swp __pycache__ -.aider.* .local .cache .bento* diff --git a/scripts/cypress_run.py b/scripts/cypress_run.py index 33984995cee94..7531aad8dafa3 100644 --- a/scripts/cypress_run.py +++ b/scripts/cypress_run.py @@ -60,7 +60,6 @@ def run_cypress_for_test_file( f"--browser {browser} " f"--record --group {group_id} --tag {REPO},{GITHUB_EVENT_NAME} " f"--ci-build-id {build_id} " - f"--wait-for-missing-groups " f"-- {chrome_flags}" ) else: diff --git a/superset-frontend/cypress-base/cypress/e2e/dashboard/drillby.test.ts b/superset-frontend/cypress-base/cypress/e2e/dashboard/drillby.test.ts index c4c5ed47665fb..e471d1da8caa2 100644 --- a/superset-frontend/cypress-base/cypress/e2e/dashboard/drillby.test.ts +++ b/superset-frontend/cypress-base/cypress/e2e/dashboard/drillby.test.ts @@ -599,7 +599,7 @@ describe('Drill by modal', () => { ]); }); - it('Radar Chart', () => { + it.skip('Radar Chart', () => { testEchart('radar', 'Radar Chart', [ [182, 49], [423, 91], diff --git a/superset-frontend/cypress-base/cypress/e2e/dashboard/drilltodetail.test.ts b/superset-frontend/cypress-base/cypress/e2e/dashboard/drilltodetail.test.ts index f11aac445446b..4ebd64dd6e501 100644 --- a/superset-frontend/cypress-base/cypress/e2e/dashboard/drilltodetail.test.ts +++ b/superset-frontend/cypress-base/cypress/e2e/dashboard/drilltodetail.test.ts @@ -335,7 +335,7 @@ describe('Drill to detail modal', () => { }); }); - describe('Bar Chart', () => { + describe.skip('Bar Chart', () => { it('opens the modal with the correct filters', () => { interceptSamples(); @@ -373,7 +373,7 @@ describe('Drill to detail modal', () => { }); }); - describe('Area Chart', () => { + describe.skip('Area Chart', () => { it('opens the modal with the correct filters', () => { testTimeChart('echarts_area'); }); @@ -407,7 +407,7 @@ describe('Drill to detail modal', () => { }); }); - describe('World Map', () => { + describe.skip('World Map', () => { it('opens the modal with the correct filters', () => { interceptSamples(); @@ -567,7 +567,7 @@ describe('Drill to detail modal', () => { }); }); - describe('Radar Chart', () => { + describe.skip('Radar Chart', () => { it('opens the modal with the correct filters', () => { interceptSamples(); diff --git a/superset-frontend/cypress-base/cypress/e2e/dashboard/horizontalFilterBar.test.ts b/superset-frontend/cypress-base/cypress/e2e/dashboard/horizontalFilterBar.test.ts index f1bfa9617e1c3..bcacae8a36dbc 100644 --- a/superset-frontend/cypress-base/cypress/e2e/dashboard/horizontalFilterBar.test.ts +++ b/superset-frontend/cypress-base/cypress/e2e/dashboard/horizontalFilterBar.test.ts @@ -176,7 +176,7 @@ describe('Horizontal FilterBar', () => { validateFilterNameOnDashboard(testItems.topTenChart.filterColumn); }); - it('should spot changes in "more filters" and apply their values', () => { + it.skip('should spot changes in "more filters" and apply their values', () => { cy.intercept(`/api/v1/chart/data?form_data=**`).as('chart'); prepareDashboardFilters([ { name: 'test_1', column: 'country_name', datasetId: 2 }, @@ -204,7 +204,7 @@ describe('Horizontal FilterBar', () => { ); }); - it('should focus filter and open "more filters" programmatically', () => { + it.skip('should focus filter and open "more filters" programmatically', () => { prepareDashboardFilters([ { name: 'test_1', column: 'country_name', datasetId: 2 }, { name: 'test_2', column: 'country_code', datasetId: 2 }, @@ -231,7 +231,7 @@ describe('Horizontal FilterBar', () => { cy.get('.ant-select-focused').should('be.visible'); }); - it('should show tag count and one plain tag on focus and only count on blur in select ', () => { + it.skip('should show tag count and one plain tag on focus and only count on blur in select ', () => { prepareDashboardFilters([ { name: 'test_1', column: 'country_name', datasetId: 2 }, ]);