[arvados-workbench2] updated: 2.6.3-53-g20b17ce2

git repository hosting git at public.arvados.org
Fri Aug 18 15:13:35 UTC 2023


Summary of changes:
 cypress/integration/side-panel.spec.js            | 2 +-
 cypress/integration/virtual-machine-admin.spec.js | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

       via  20b17ce2416339b68b598765ed1f7f09e60cd95f (commit)
      from  89d84fd0b6d998e0b7a6aae63ddb96fb6e29ed42 (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 20b17ce2416339b68b598765ed1f7f09e60cd95f
Author: Stephen Smith <stephen at curii.com>
Date:   Fri Aug 18 11:13:19 2023 -0400

    19991: Fix some cypress tests
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/cypress/integration/side-panel.spec.js b/cypress/integration/side-panel.spec.js
index e187d533..92181150 100644
--- a/cypress/integration/side-panel.spec.js
+++ b/cypress/integration/side-panel.spec.js
@@ -65,7 +65,7 @@ describe('Side panel tests', function() {
             {url: '/all_processes', label: 'All Processes'},
             {url: '/trash', label: 'Trash'},
         ].map(function(section) {
-            cy.goToPath(section.url);
+            cy.waitForDom().goToPath(section.url);
             cy.get('[data-cy=breadcrumb-first]')
                 .should('contain', section.label);
             cy.get('[data-cy=side-panel-button]')
diff --git a/cypress/integration/virtual-machine-admin.spec.js b/cypress/integration/virtual-machine-admin.spec.js
index 49cb1239..80d64977 100644
--- a/cypress/integration/virtual-machine-admin.spec.js
+++ b/cypress/integration/virtual-machine-admin.spec.js
@@ -50,7 +50,7 @@ describe('Virtual machine login manage tests', function() {
                     cy.get('input').type('VMAdmin');
                   })
             });
-        cy.get('[role=tooltip]').click();
+        cy.waitForDom().get('[role=tooltip]').click();
         cy.get('[data-cy=form-dialog]').as('add-login-dialog')
             .should('contain', 'Add login permission')
             .within(() => {
@@ -269,11 +269,11 @@ describe('Virtual machine login manage tests', function() {
         cy.get('@removeButton').click();
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
-        cy.get('[data-cy=vm-admin-table]')
+        cy.waitForDom().get('[data-cy=vm-admin-table]')
             .contains(vmHost)
             .parents('tr')
             .within(() => {
-                cy.get('div[role=button]').should('not.contain', 'admin');
+                cy.get('div[role=button]').should('not.exist');
             });
 
         // Check admin's vm page for login

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list