[ARVADOS-WORKBENCH2] updated: 2.4.0-52-g8e191eca

Git user git at public.arvados.org
Thu May 12 23:56:42 UTC 2022


Summary of changes:
 cypress/support/commands.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

       via  8e191ecaf0e507dd1d685ca3ebeab954652d8e9e (commit)
      from  a89c34e7cba3d8381302ff142c37e1a8b39ca80e (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 8e191ecaf0e507dd1d685ca3ebeab954652d8e9e
Author: Stephen Smith <stephen at curii.com>
Date:   Thu May 12 19:56:13 2022 -0400

    19049: Cypress don't timeout before waitfordom finishes
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/cypress/support/commands.js b/cypress/support/commands.js
index c2d78b54..842c9551 100644
--- a/cypress/support/commands.js
+++ b/cypress/support/commands.js
@@ -405,7 +405,10 @@ function b64toBlob(b64Data, contentType = '', sliceSize = 512) {
 // From https://github.com/cypress-io/cypress/issues/7306#issuecomment-1076451070=
 // This command requires the async package (https://www.npmjs.com/package/async)
 Cypress.Commands.add('waitForDom', () => {
-    cy.window().then(win => {
+    cy.window().then({
+        // Don't timeout before waitForDom finishes
+        timeout: 10000
+    }, win => {
       let timeElapsed = 0;
 
       cy.log("Waiting for DOM mutations to complete");

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list