Skip to content

Commit

Permalink
fix(cypress): disable flaky tests (#22512)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored Dec 22, 2022
1 parent 7d8fff8 commit 630c129
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit 630c129

Please sign in to comment.