[arvados] updated: 2.7.0-6303-ga7dc7c850d

git repository hosting git at public.arvados.org
Wed May 15 17:48:34 UTC 2024


Summary of changes:
 services/workbench2/cypress/e2e/workflow.cy.js | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

       via  a7dc7c850d73938e07dd14bede3fb3700b86f77d (commit)
      from  e335b4a752620e7e4d89c24a739c30470b9a1c33 (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 a7dc7c850d73938e07dd14bede3fb3700b86f77d
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed May 15 13:48:28 2024 -0400

    21535: changed test spec from select all to select each individually Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/cypress/e2e/workflow.cy.js b/services/workbench2/cypress/e2e/workflow.cy.js
index ef84faab6d..3c9b8269c3 100644
--- a/services/workbench2/cypress/e2e/workflow.cy.js
+++ b/services/workbench2/cypress/e2e/workflow.cy.js
@@ -248,18 +248,23 @@ describe('Registered workflow panel tests', function() {
     });
 
     it('can delete multiple workflows', function() {
-        cy.createResource(activeUser.token, "workflows", {workflow: {name: "Test wf1"}})
-        cy.createResource(activeUser.token, "workflows", {workflow: {name: "Test wf2"}})
-        cy.createResource(activeUser.token, "workflows", {workflow: {name: "Test wf3"}})
+        const wfNames = ["Test wf1", "Test wf2", "Test wf3"];
+
+        wfNames.forEach((wfName) => {
+            cy.createResource(activeUser.token, "workflows", {workflow: {name: wfName}})
+        });
         
         cy.loginAs(activeUser);
-        cy.get('[data-cy=data-table-multiselect-popover]').click();
-        cy.get('[data-cy=multiselect-popover-All]').click();
 
-        cy.get('[data-cy=multiselect-button]').eq(0).click({force: true});
+        wfNames.forEach((wfName) => {
+            cy.get('tr').contains('td', wfName).should('exist').parent('tr').find('input[type="checkbox"]').click();
+        });
         
+        cy.waitForDom().get('[data-cy=multiselect-button]', {timeout: 10000}).should('be.visible')
+        cy.get('[data-cy=multiselect-button]', {timeout: 10000}).should('have.length', '1').trigger('mouseover');
+        cy.get('body').contains('Delete Workflow', {timeout: 10000}).should('exist')
+        cy.get('[data-cy=multiselect-button]').eq(0).click();
         cy.get('[data-cy=confirmation-dialog-ok-btn]').should('exist').click();
-
         cy.get('[data-cy=data-table-row]').should('not.exist');
     });
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list