You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2024/05/17 16:58:30 UTC
(superset) branch geido/fix/applitools-cypress-no-specs created (now 29a9606488)
This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch geido/fix/applitools-cypress-no-specs
in repository https://gitbox.apache.org/repos/asf/superset.git
at 29a9606488 Move it out e2e
This branch includes the following new commits:
new 8462ba73d5 Move and fix path
new 29a9606488 Move it out e2e
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/02: Move and fix path
Posted by di...@apache.org.
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 <di...@gmail.com>
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
(superset) 02/02: Move it out e2e
Posted by di...@apache.org.
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 <di...@gmail.com>
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