Skip to content

Commit

Permalink
Fix flaky test for copy link
Browse files Browse the repository at this point in the history
Signed-off-by: gaobinlong <[email protected]>
  • Loading branch information
gaobinlong committed Feb 5, 2024
1 parent abb5701 commit b153edf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (Cypress.env('SECURITY_ENABLED')) {
cy.getElementByTestId('toggleNavButton').click();
cy.get('span[title="Discover"]').click();
cy.getElementByTestId('shareTopNavButton').click();
cy.getElementByTestId('copyShareUrlButton').click();
cy.getElementByTestId('copyShareUrlButton').focus().realClick();

// Capture the copied content
cy.window().then((win) => {
Expand Down

0 comments on commit b153edf

Please sign in to comment.