From 630c129e3e3e8a48c22d754e5d9943583ac0dae4 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Thu, 22 Dec 2022 21:25:32 +0200 Subject: [PATCH] fix(cypress): disable flaky tests (#22512) --- .../cypress/integration/chart_list/filter.test.ts | 8 ++++---- .../cypress/integration/dashboard_list/filter.test.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts b/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts index 67d15dd5a6ca6..1b225ec4b07d1 100644 --- a/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/chart_list/filter.test.ts @@ -35,14 +35,14 @@ describe('Charts filters', () => { setGridMode('card'); }); - it('should filter by owners correctly', () => { + xit('should filter by owners correctly', () => { setFilter('Owner', 'alpha user'); cy.getBySel('styled-card').should('not.exist'); setFilter('Owner', 'admin user'); cy.getBySel('styled-card').should('exist'); }); - it('should filter by created by correctly', () => { + xit('should filter by created by correctly', () => { setFilter('Created by', 'alpha user'); cy.getBySel('styled-card').should('not.exist'); setFilter('Created by', 'admin user'); @@ -76,14 +76,14 @@ describe('Charts filters', () => { setGridMode('list'); }); - it('should filter by owners correctly', () => { + xit('should filter by owners correctly', () => { setFilter('Owner', 'alpha user'); cy.getBySel('table-row').should('not.exist'); setFilter('Owner', 'admin user'); cy.getBySel('table-row').should('exist'); }); - it('should filter by created by correctly', () => { + xit('should filter by created by correctly', () => { setFilter('Created by', 'alpha user'); cy.getBySel('table-row').should('not.exist'); setFilter('Created by', 'admin user'); diff --git a/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts b/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts index 2949267b4306d..47e14755cb1b4 100644 --- a/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/dashboard_list/filter.test.ts @@ -35,14 +35,14 @@ describe('Dashboards filters', () => { setGridMode('card'); }); - it('should filter by owners correctly', () => { + xit('should filter by owners correctly', () => { setFilter('Owner', 'alpha user'); cy.getBySel('styled-card').should('not.exist'); setFilter('Owner', 'admin user'); cy.getBySel('styled-card').should('exist'); }); - it('should filter by created by correctly', () => { + xit('should filter by created by correctly', () => { setFilter('Created by', 'alpha user'); cy.getBySel('styled-card').should('not.exist'); setFilter('Created by', 'admin user'); @@ -62,14 +62,14 @@ describe('Dashboards filters', () => { setGridMode('list'); }); - it('should filter by created by correctly', () => { + xit('should filter by owners correctly', () => { setFilter('Owner', 'alpha user'); cy.getBySel('table-row').should('not.exist'); setFilter('Owner', 'admin user'); cy.getBySel('table-row').should('exist'); }); - it('should filter by created by correctly', () => { + xit('should filter by created by correctly', () => { setFilter('Created by', 'alpha user'); cy.getBySel('table-row').should('not.exist'); setFilter('Created by', 'admin user');