21762: added window timeout to test spec
[arvados.git] / services / workbench2 / cypress / e2e / search.cy.js
index 4e5aa31f4dc2b209bcf1ae35927bf2477ac930d4..16edcb1e43b73f76f34deaeba4872cb182385845 100644 (file)
@@ -301,7 +301,7 @@ describe("Search tests", function () {
             cy.get("[data-cy=context-menu]").within(() => {
                 cy.contains("Copy link to clipboard").click();
                 cy.waitForDom();
-                cy.window().then(win =>
+                cy.window({ timeout: 15000 }).then(win =>
                     win.navigator.clipboard.readText().then(text => {
                         expect(text).to.equal(`https://wb2.xxxxx.fakecluster.tld/collections/${federatedColUuid}`);
                     })