X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/514a342ebb895c8a2a0e41649e9b375f5eb8b74a..04af9f8d5ec001805f4e8f4e208ee8bf7be5f8fa:/cypress/integration/search.spec.js diff --git a/cypress/integration/search.spec.js b/cypress/integration/search.spec.js index 903caf67..bfcca0c6 100644 --- a/cypress/integration/search.spec.js +++ b/cypress/integration/search.spec.js @@ -305,8 +305,7 @@ describe("Search tests", function () { cy.contains("Copy to clipboard").click(); cy.window().then(win => win.navigator.clipboard.readText().then(text => { - // expect(text).to.equal(`https://wb2.xxxxx.fakecluster.tld/collections/${federatedColUuid}`); - expect(text).to.equal(`${window.location.origin}/collections/${testCollection.uuid}`); + expect(text).to.equal(`https://wb2.xxxxx.fakecluster.tld/collections/${federatedColUuid}`); }) ); }); @@ -314,8 +313,7 @@ describe("Search tests", function () { cy.get("[data-cy=search-results]").contains(federatedColName).rightclick(); cy.get("[data-cy=context-menu]").within(() => { cy.contains("Open in new tab").click(); - // cy.get("@Open").should("have.been.calledWith", `https://wb2.xxxxx.fakecluster.tld/collections/${federatedColUuid}`); - cy.get("@Open").should("have.been.calledWith", `${window.location.origin}/collections/${testCollection.uuid}`); + cy.get("@Open").should("have.been.calledWith", `https://wb2.xxxxx.fakecluster.tld/collections/${federatedColUuid}`); }); }); });