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 884fdb5 commit 4652260
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ 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('[data-test-subj="discover-refreshDataButton"]').should('exist');
});

after(() => {
Expand Down

0 comments on commit 4652260

Please sign in to comment.