This is an automated email from the ASF dual-hosted git repository.
codyml pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 183c5f9589 chore(tests): Cypress optimizations to help with fails
(#23023)
183c5f9589 is described below
commit 183c5f9589501d8a8d0c11df6e49e03747381f9b
Author: Cody Leff <[email protected]>
AuthorDate: Tue Feb 7 12:20:08 2023 -0800
chore(tests): Cypress optimizations to help with fails (#23023)
---
.../cypress-base/cypress/integration/dashboard/load.test.ts | 2 +-
.../cypress-base/cypress/integration/dashboard/nativeFilters.test.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/superset-frontend/cypress-base/cypress/integration/dashboard/load.test.ts
b/superset-frontend/cypress-base/cypress/integration/dashboard/load.test.ts
index 487b2c7f0e..bf60c2bec1 100644
--- a/superset-frontend/cypress-base/cypress/integration/dashboard/load.test.ts
+++ b/superset-frontend/cypress-base/cypress/integration/dashboard/load.test.ts
@@ -45,6 +45,6 @@ describe('Dashboard load', () => {
it('should send log data', () => {
interceptLog();
cy.visit(WORLD_HEALTH_DASHBOARD);
- cy.wait('@logs');
+ cy.wait('@logs', { timeout: 15000 });
});
});
diff --git
a/superset-frontend/cypress-base/cypress/integration/dashboard/nativeFilters.test.ts
b/superset-frontend/cypress-base/cypress/integration/dashboard/nativeFilters.test.ts
index b378388da3..e934a47bfb 100644
---
a/superset-frontend/cypress-base/cypress/integration/dashboard/nativeFilters.test.ts
+++
b/superset-frontend/cypress-base/cypress/integration/dashboard/nativeFilters.test.ts
@@ -283,7 +283,7 @@ describe('Horizontal FilterBar', () => {
cy.getBySel('form-item-value').should('have.length', 3);
cy.viewport(768, 1024);
cy.getBySel('form-item-value').should('have.length', 0);
- openMoreFilters();
+ openMoreFilters(false);
cy.getBySel('form-item-value').should('have.length', 3);
cy.getBySel('filter-bar').click();