Skip to content

Commit

Permalink
make modifyColumnsOnSwitc test more robust (#1615)
Browse files Browse the repository at this point in the history
Signed-off-by: Anan <[email protected]>
  • Loading branch information
ananzh authored Nov 1, 2024
1 parent ae5d714 commit f1c32f9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,9 @@ describe('discover_advanced_setting', () => {
});

it('check refresh data button is displayed when searchOnPageLoad is set as false', function () {
cy.get('.euiButton__text').contains('Refresh data').should('exist');
cy.get('button.euiButton')
.contains('.euiButton__text', 'Refresh data')
.should('exist');
});

after(() => {
Expand Down

0 comments on commit f1c32f9

Please sign in to comment.