Skip to content

Commit

Permalink
Fix Flacky AdhocFilters test
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud committed Sep 9, 2020
1 parent 3ef00cb commit b963251
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ describe('AdhocFilters', () => {

cy.get('[data-test=adhoc_filters]').within(() => {
cy.get('.Select__control').click();
cy.get('input[type=text]').type('name{enter}');
cy.get('input[type=text]').focus().type('name{enter}');
});
cy.get('#filter-edit-popover').within(() => {
cy.get('[data-test=adhoc-filter-simple-value]').within(() => {
cy.get('.Select__control').click();
cy.get('input[type=text]').type('Any{enter}');
cy.get('input[type=text]').focus().type('Any{enter}');
});
cy.get('button').contains('Save').click();
});
Expand All @@ -53,7 +53,7 @@ describe('AdhocFilters', () => {

cy.get('[data-test=adhoc_filters]').within(() => {
cy.get('.Select__control').click();
cy.get('input[type=text]').type('name{enter}');
cy.get('input[type=text]').focus().type('name{enter}');
});

cy.get('#filter-edit-popover').within(() => {
Expand Down

0 comments on commit b963251

Please sign in to comment.