21448: fixed user-profile test Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox...
authorLisa Knox <lisaknox83@gmail.com>
Mon, 1 Apr 2024 17:36:16 +0000 (13:36 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Mon, 1 Apr 2024 17:36:16 +0000 (13:36 -0400)
services/workbench2/cypress/e2e/user-profile.cy.js

index f5315cf456a26751c5284958f82ecfac36f30684..3e4cb7fa07b2b2c41b1998a5ac28b7ecedb11be2 100644 (file)
@@ -82,7 +82,7 @@ describe('User profile tests', function() {
             cy.get('[role=button]').should(activate ? 'contain' : 'not.contain', 'Activate user');
             cy.get('[role=button]').should(deactivate ? 'contain' : 'not.contain', 'Deactivate user');
             cy.get('[role=button]').should(login ? 'contain' : 'not.contain', 'Login as user');
-            cy.get('[role=button]').should(setup ? 'contain' : 'not.contain', 'Setup User');
+            cy.get('[role=button]').should(setup ? 'contain' : 'not.contain', 'Setup user');
         });
         cy.get('div[role=presentation]').click();
     }
@@ -382,7 +382,7 @@ describe('User profile tests', function() {
 
         // Setup user
         cy.get('[data-cy=user-profile-panel-options-btn]').click();
-        cy.get('[data-cy=context-menu]').contains('Setup User').click();
+        cy.get('[data-cy=context-menu]').contains('Setup user').click();
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         // Check that user is setup