Skip to content

Commit

Permalink
modify the refresh data button test to use test-data-subj (#1618) (#1643
Browse files Browse the repository at this point in the history
) (#1688)

Signed-off-by: Anan <ananzh@amazon.com>
Co-authored-by: Hailong Cui <ihailong@amazon.com>
(cherry picked from commit 4913158)

Co-authored-by: Anan Zhuang <ananzh@amazon.com>
Co-authored-by: Lin Wang <wonglam@amazon.com>
(cherry picked from commit ad68244)

Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
  • Loading branch information
opensearch-trigger-bot[bot] authored Feb 3, 2025
1 parent e88f769 commit 221590d
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 221590d

Please sign in to comment.