This is an automated email from the ASF dual-hosted git repository. diegopucci pushed a commit to branch geido/fix/applitools-cypress-no-specs in repository https://gitbox.apache.org/repos/asf/superset.git
commit 8462ba73d5833b9ab81ca955236adf9c2198d2b1 Author: Diego Pucci <[email protected]> AuthorDate: Fri May 17 19:45:32 2024 +0300 Move and fix path --- .../chartlist.applitools.test.ts => applitools/chartlist.test.ts} | 0 .../dashboard.applitools.test.ts => applitools/dashboard.test.ts} | 4 +++- .../dashboardlist.test.ts} | 0 .../explore.applitools.test.ts => applitools/explore.test.ts} | 5 ++++- .../{sqllab/sqllab.applitools.test.ts => applitools/sqllab.test.ts} | 0 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/superset-frontend/cypress-base/cypress/e2e/chart_list/chartlist.applitools.test.ts b/superset-frontend/cypress-base/cypress/e2e/applitools/chartlist.test.ts similarity index 100% rename from superset-frontend/cypress-base/cypress/e2e/chart_list/chartlist.applitools.test.ts rename to superset-frontend/cypress-base/cypress/e2e/applitools/chartlist.test.ts diff --git a/superset-frontend/cypress-base/cypress/e2e/dashboard/dashboard.applitools.test.ts b/superset-frontend/cypress-base/cypress/e2e/applitools/dashboard.test.ts similarity index 91% rename from superset-frontend/cypress-base/cypress/e2e/dashboard/dashboard.applitools.test.ts rename to superset-frontend/cypress-base/cypress/e2e/applitools/dashboard.test.ts index 297702bce2..7487932443 100644 --- a/superset-frontend/cypress-base/cypress/e2e/dashboard/dashboard.applitools.test.ts +++ b/superset-frontend/cypress-base/cypress/e2e/applitools/dashboard.test.ts @@ -18,7 +18,7 @@ */ import { WORLD_HEALTH_DASHBOARD } from 'cypress/utils/urls'; import { waitForChartLoad } from 'cypress/utils'; -import { WORLD_HEALTH_CHARTS } from './utils'; +import { WORLD_HEALTH_CHARTS } from '../dashboard/utils'; describe('Dashboard load', () => { beforeEach(() => { @@ -35,6 +35,7 @@ describe('Dashboard load', () => { testName: 'Dashboard page', }); cy.eyesCheckWindow('Dashboard loaded'); + cy.find('.Gapminder test').should('be.visible'); }); it('should load the Dashboard in edit mode', () => { @@ -49,5 +50,6 @@ describe('Dashboard load', () => { testName: 'Dashboard edit mode', }); cy.eyesCheckWindow('Dashboard edit mode loaded'); + cy.find('.Gapminder test').should('be.visible'); }); }); diff --git a/superset-frontend/cypress-base/cypress/e2e/dashboard_list/dashboardlist.applitools.test.ts b/superset-frontend/cypress-base/cypress/e2e/applitools/dashboardlist.test.ts similarity index 100% rename from superset-frontend/cypress-base/cypress/e2e/dashboard_list/dashboardlist.applitools.test.ts rename to superset-frontend/cypress-base/cypress/e2e/applitools/dashboardlist.test.ts diff --git a/superset-frontend/cypress-base/cypress/e2e/explore/explore.applitools.test.ts b/superset-frontend/cypress-base/cypress/e2e/applitools/explore.test.ts similarity index 93% rename from superset-frontend/cypress-base/cypress/e2e/explore/explore.applitools.test.ts rename to superset-frontend/cypress-base/cypress/e2e/applitools/explore.test.ts index 4e951c2560..2bd1530923 100644 --- a/superset-frontend/cypress-base/cypress/e2e/explore/explore.applitools.test.ts +++ b/superset-frontend/cypress-base/cypress/e2e/applitools/explore.test.ts @@ -16,7 +16,10 @@ * specific language governing permissions and limitations * under the License. */ -import { FORM_DATA_DEFAULTS, NUM_METRIC } from './visualizations/shared.helper'; +import { + FORM_DATA_DEFAULTS, + NUM_METRIC, +} from '../explore/visualizations/shared.helper'; describe('explore view', () => { beforeEach(() => { diff --git a/superset-frontend/cypress-base/cypress/e2e/sqllab/sqllab.applitools.test.ts b/superset-frontend/cypress-base/cypress/e2e/applitools/sqllab.test.ts similarity index 100% rename from superset-frontend/cypress-base/cypress/e2e/sqllab/sqllab.applitools.test.ts rename to superset-frontend/cypress-base/cypress/e2e/applitools/sqllab.test.ts
