18874: Remove timeout on cy.url().
authorTom Clegg <tom@curii.com>
Fri, 10 Nov 2023 16:21:23 +0000 (11:21 -0500)
committerTom Clegg <tom@curii.com>
Fri, 10 Nov 2023 16:21:23 +0000 (11:21 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

services/workbench2/cypress/support/commands.js

index 1682a8a814440c875fa43ba312e0d76beea183ba..c9170bb33827a6867f49c63e54c3fb57e3af4207 100644 (file)
@@ -352,7 +352,7 @@ Cypress.Commands.add("loginAs", user => {
     cy.clearCookies();
     cy.clearLocalStorage();
     cy.visit(`/token/?api_token=${user.token}`);
-    cy.url({ timeout: 10000 }).should("contain", "/projects/");
+    cy.url().should("contain", "/projects/");
     cy.get("div#root").should("contain", "Arvados Workbench (zzzzz)");
     cy.get("div#root").should("not.contain", "Your account is inactive");
 });