[arvados-workbench2] updated: 2.4.0-144-g3ebe70cc

git repository hosting git at public.arvados.org
Thu Jun 23 04:37:12 UTC 2022


Summary of changes:
 cypress/integration/collection.spec.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  3ebe70ccec47fe17491415736701e6e1ce1956c3 (commit)
      from  103b02cad3a181951a3872fa8f6a811a7125fdda (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 3ebe70ccec47fe17491415736701e6e1ce1956c3
Author: Stephen Smith <stephen at curii.com>
Date:   Thu Jun 23 00:36:47 2022 -0400

    19093: Improve cypress test reliability
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js
index fd8e65b2..28454a90 100644
--- a/cypress/integration/collection.spec.js
+++ b/cypress/integration/collection.spec.js
@@ -374,7 +374,7 @@ describe('Collection panel tests', function () {
                 cy.goToPath(`/collections/${this.testCollection.uuid}`);
 
                 ['subdir', 'G%C3%BCnter\'s%20file', 'table%&?*2'].forEach((subdir) => {
-                    cy.get('[data-cy=collection-files-panel]')
+                    cy.waitForDom().get('[data-cy=collection-files-panel]')
                         .contains('bar').rightclick();
                     cy.get('[data-cy=context-menu]')
                         .contains('Rename')
@@ -642,7 +642,7 @@ describe('Collection panel tests', function () {
                     .contains(projName).and('contain', testProject.uuid);
                 // Double check that the collection is in the project
                 cy.goToPath(`/projects/${testProject.uuid}`);
-                cy.get('[data-cy=project-panel]').should('contain', collName);
+                cy.waitForDom().get('[data-cy=project-panel]').should('contain', collName);
             });
     });
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list