X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9d762fe81ce5403a1a797a04e4e62c3d6d6f5b6f..b56396475bcae2a8a1356267120bc712538b198d:/services/workbench2/cypress/e2e/search.cy.js diff --git a/services/workbench2/cypress/e2e/search.cy.js b/services/workbench2/cypress/e2e/search.cy.js index ba9077ac20..094a3f618c 100644 --- a/services/workbench2/cypress/e2e/search.cy.js +++ b/services/workbench2/cypress/e2e/search.cy.js @@ -271,17 +271,17 @@ describe("Search tests", function () { cy.stub(win, "open").as("Open"); }); - // Check copy to clipboard + // Check Copy link to clipboard cy.get("[data-cy=search-results]").contains(colName).rightclick(); cy.get("[data-cy=context-menu]").within(ctx => { // Check that there are 4 items in the menu cy.get(ctx).children().should("have.length", 4); cy.contains("API Details"); - cy.contains("Copy to clipboard"); + cy.contains("Copy link to clipboard"); cy.contains("Open in new tab"); cy.contains("View details"); - cy.contains("Copy to clipboard").click(); + cy.contains("Copy link to clipboard").click(); cy.waitForDom(); cy.window().then(win => win.navigator.clipboard.readText().then(text => { @@ -298,10 +298,10 @@ describe("Search tests", function () { cy.get("@Open").should("have.been.calledOnceWith", `${window.location.origin}/collections/${testCollection.uuid}`); }); - // Check federated result copy to clipboard + // Check federated result Copy link to clipboard cy.get("[data-cy=search-results]").contains(federatedColName).rightclick(); cy.get("[data-cy=context-menu]").within(() => { - cy.contains("Copy to clipboard").click(); + cy.contains("Copy link to clipboard").click(); cy.waitForDom(); cy.window().then(win => win.navigator.clipboard.readText().then(text => {