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
The following commit(s) were added to
refs/heads/geido/fix/applitools-cypress-no-specs by this push:
new a9754926da Clean up
a9754926da is described below
commit a9754926da86ab122e730252c311acf50719dbe2
Author: Diego Pucci <[email protected]>
AuthorDate: Fri May 17 20:00:21 2024 +0300
Clean up
---
.github/workflows/bashlib.sh | 2 +-
superset-frontend/cypress-base/cypress/applitools/dashboard.test.ts | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/.github/workflows/bashlib.sh b/.github/workflows/bashlib.sh
index 5330d01e05..c35caa7dc4 100644
--- a/.github/workflows/bashlib.sh
+++ b/.github/workflows/bashlib.sh
@@ -212,7 +212,7 @@ cypress-run-applitools() {
nohup flask run --no-debugger -p $port >"$flasklog" 2>&1 </dev/null &
local flaskProcessId=$!
- $cypress --spec "cypress/e2e/*/**/*.applitools.test.ts" --browser "$browser"
--headless
+ $cypress --spec "cypress/applitools/**/*" --browser "$browser" --headless
say "::group::Flask log for default run"
cat "$flasklog"
diff --git
a/superset-frontend/cypress-base/cypress/applitools/dashboard.test.ts
b/superset-frontend/cypress-base/cypress/applitools/dashboard.test.ts
index 00f17533af..f96240b0d0 100644
--- a/superset-frontend/cypress-base/cypress/applitools/dashboard.test.ts
+++ b/superset-frontend/cypress-base/cypress/applitools/dashboard.test.ts
@@ -35,7 +35,6 @@ 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', () => {
@@ -50,6 +49,5 @@ describe('Dashboard load', () => {
testName: 'Dashboard edit mode',
});
cy.eyesCheckWindow('Dashboard edit mode loaded');
- cy.find('.Gapminder test').should('be.visible');
});
});