Skip to content

Commit

Permalink
modify the refresh data button test to use test-data-subj (#1618)
Browse files Browse the repository at this point in the history
Signed-off-by: Anan <[email protected]>
Co-authored-by: Hailong Cui <[email protected]>
(cherry picked from commit 4913158)
  • Loading branch information
ananzh authored and github-actions[bot] committed Nov 15, 2024
1 parent 9faba32 commit f6e7e3e
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 f6e7e3e

Please sign in to comment.