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 29a9606488a39feb415a04073d01234694c1f8e6
Author: Diego Pucci <[email protected]>
AuthorDate: Fri May 17 19:58:13 2024 +0300

    Move it out e2e
---
 superset-frontend/cypress-base/cypress.config.ts                   | 7 +++++--
 .../cypress-base/cypress/{e2e => }/applitools/chartlist.test.ts    | 0
 .../cypress-base/cypress/{e2e => }/applitools/dashboard.test.ts    | 2 +-
 .../cypress/{e2e => }/applitools/dashboardlist.test.ts             | 0
 .../cypress-base/cypress/{e2e => }/applitools/explore.test.ts      | 2 +-
 .../cypress-base/cypress/{e2e => }/applitools/sqllab.test.ts       | 0
 6 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/superset-frontend/cypress-base/cypress.config.ts 
b/superset-frontend/cypress-base/cypress.config.ts
index 8d2f58325c..d2be99af3c 100644
--- a/superset-frontend/cypress-base/cypress.config.ts
+++ b/superset-frontend/cypress-base/cypress.config.ts
@@ -65,8 +65,11 @@ export default eyesPlugin(
         return require('./cypress/plugins/index.js')(on, config);
       },
       baseUrl: 'http://localhost:8088',
-      excludeSpecPattern: ['**/*.applitools.test.ts'],
-      specPattern: ['cypress/e2e/**/*.{js,jsx,ts,tsx}'],
+      excludeSpecPattern: [],
+      specPattern: [
+        'cypress/e2e/**/*.{js,jsx,ts,tsx}',
+        'cypress/applitools/**/*.{js,jsx,ts,tsx}',
+      ],
     },
   }),
 );
diff --git 
a/superset-frontend/cypress-base/cypress/e2e/applitools/chartlist.test.ts 
b/superset-frontend/cypress-base/cypress/applitools/chartlist.test.ts
similarity index 100%
rename from 
superset-frontend/cypress-base/cypress/e2e/applitools/chartlist.test.ts
rename to superset-frontend/cypress-base/cypress/applitools/chartlist.test.ts
diff --git 
a/superset-frontend/cypress-base/cypress/e2e/applitools/dashboard.test.ts 
b/superset-frontend/cypress-base/cypress/applitools/dashboard.test.ts
similarity index 96%
rename from 
superset-frontend/cypress-base/cypress/e2e/applitools/dashboard.test.ts
rename to superset-frontend/cypress-base/cypress/applitools/dashboard.test.ts
index 7487932443..00f17533af 100644
--- a/superset-frontend/cypress-base/cypress/e2e/applitools/dashboard.test.ts
+++ b/superset-frontend/cypress-base/cypress/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 '../dashboard/utils';
+import { WORLD_HEALTH_CHARTS } from '../e2e/dashboard/utils';
 
 describe('Dashboard load', () => {
   beforeEach(() => {
diff --git 
a/superset-frontend/cypress-base/cypress/e2e/applitools/dashboardlist.test.ts 
b/superset-frontend/cypress-base/cypress/applitools/dashboardlist.test.ts
similarity index 100%
rename from 
superset-frontend/cypress-base/cypress/e2e/applitools/dashboardlist.test.ts
rename to 
superset-frontend/cypress-base/cypress/applitools/dashboardlist.test.ts
diff --git 
a/superset-frontend/cypress-base/cypress/e2e/applitools/explore.test.ts 
b/superset-frontend/cypress-base/cypress/applitools/explore.test.ts
similarity index 96%
rename from 
superset-frontend/cypress-base/cypress/e2e/applitools/explore.test.ts
rename to superset-frontend/cypress-base/cypress/applitools/explore.test.ts
index 2bd1530923..142262262d 100644
--- a/superset-frontend/cypress-base/cypress/e2e/applitools/explore.test.ts
+++ b/superset-frontend/cypress-base/cypress/applitools/explore.test.ts
@@ -19,7 +19,7 @@
 import {
   FORM_DATA_DEFAULTS,
   NUM_METRIC,
-} from '../explore/visualizations/shared.helper';
+} from '../e2e/explore/visualizations/shared.helper';
 
 describe('explore view', () => {
   beforeEach(() => {
diff --git 
a/superset-frontend/cypress-base/cypress/e2e/applitools/sqllab.test.ts 
b/superset-frontend/cypress-base/cypress/applitools/sqllab.test.ts
similarity index 100%
rename from superset-frontend/cypress-base/cypress/e2e/applitools/sqllab.test.ts
rename to superset-frontend/cypress-base/cypress/applitools/sqllab.test.ts

Reply via email to