Skip to content

Commit

Permalink
copy link lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leanneeliatra committed Nov 6, 2023
1 parent d97e891 commit 688ef8e
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { STACK_MANAGEMENT_PATH } from '../../../utils/dashboards/constants';

if (Cypress.env('SECURITY_ENABLED')) {
describe('Copy Link functionality working ', () => {
it('Tests the link copys and can be routed to in Safari ', () => {
cy.visit(STACK_MANAGEMENT_PATH);
cy.waitForLoader();
cy.getElementByTestId('toggleNavButton').click();
cy.get('span[title="Discover"]').click();
cy.getElementByTestId('shareTopNavButton').click();
cy.getElementByTestId('copyShareUrlButton').click();
});
});
}

0 comments on commit 688ef8e

Please sign in to comment.