[arvados] updated: 2.7.0-5832-ga528df6731
git repository hosting
git at public.arvados.org
Tue Jan 16 01:00:29 UTC 2024
Summary of changes:
services/workbench2/cypress/support/commands.js | 2 ++
1 file changed, 2 insertions(+)
via a528df6731b0106a2946a717f51848a17423aac2 (commit)
from cee968c000e8e76e603ac012efdae0a6e5706932 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit a528df6731b0106a2946a717f51848a17423aac2
Author: Stephen Smith <stephen at curii.com>
Date: Mon Jan 15 19:59:32 2024 -0500
21353: Add waitForDom to loginAs to wait before getting elements
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>
diff --git a/services/workbench2/cypress/support/commands.js b/services/workbench2/cypress/support/commands.js
index e4930ff2a0..8fe0b06aaf 100644
--- a/services/workbench2/cypress/support/commands.js
+++ b/services/workbench2/cypress/support/commands.js
@@ -358,6 +358,8 @@ Cypress.Commands.add("loginAs", user => {
win?.location?.href &&
win.location.href.includes("/projects/")
), { timeout: 15000 });
+ // Wait for page to settle before getting elements
+ cy.waitForDom();
cy.get("div#root").should("contain", "Arvados Workbench (zzzzz)");
cy.get("div#root").should("not.contain", "Your account is inactive");
});
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list