Skip to content

Commit

Permalink
modify the refresh data button test to use test-data-subj
Browse files Browse the repository at this point in the history
Signed-off-by: Anan <[email protected]>
  • Loading branch information
ananzh committed Nov 1, 2024
1 parent f1c32f9 commit 87939f0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,7 @@ describe('discover_advanced_setting', () => {
});

it('check refresh data button is displayed when searchOnPageLoad is set as false', function () {
cy.get('button.euiButton')
.contains('.euiButton__text', 'Refresh data')
.should('exist');
cy.get('[data-test-subj="discover-refreshDataButton"]').should('exist');
});

after(() => {
Expand Down

0 comments on commit 87939f0

Please sign in to comment.