fixed missing } in data-explorer.tsx
[arvados.git] / services / workbench2 / cypress / e2e / user-profile.cy.js
index 0a06eaf361ba97763ba20d4730001c3b26e93378..3e4cb7fa07b2b2c41b1998a5ac28b7ecedb11be2 100644 (file)
@@ -79,10 +79,10 @@ describe('User profile tests', function() {
             cy.get('[role=button]').contains('API Details');
 
             cy.get('[role=button]').should(account ? 'contain' : 'not.contain', 'Account Settings');
-            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(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('div[role=presentation]').click();
     }
@@ -364,7 +364,7 @@ describe('User profile tests', function() {
 
         // Deactivate user
         cy.get('[data-cy=user-profile-panel-options-btn]').click();
-        cy.get('[data-cy=context-menu]').contains('Deactivate User').click();
+        cy.get('[data-cy=context-menu]').contains('Deactivate user').click();
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         // Check that user is deactivated
@@ -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
@@ -400,7 +400,7 @@ describe('User profile tests', function() {
 
         // Activate user
         cy.get('[data-cy=user-profile-panel-options-btn]').click();
-        cy.get('[data-cy=context-menu]').contains('Activate User').click();
+        cy.get('[data-cy=context-menu]').contains('Activate user').click();
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         // Check that user is active
@@ -418,7 +418,7 @@ describe('User profile tests', function() {
 
         // Deactivate and activate user skipping setup
         cy.get('[data-cy=user-profile-panel-options-btn]').click();
-        cy.get('[data-cy=context-menu]').contains('Deactivate User').click();
+        cy.get('[data-cy=context-menu]').contains('Deactivate user').click();
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
         // Check
         cy.get('[data-cy=account-status]').contains('Inactive');
@@ -434,7 +434,7 @@ describe('User profile tests', function() {
         });
         // reactivate
         cy.get('[data-cy=user-profile-panel-options-btn]').click();
-        cy.get('[data-cy=context-menu]').contains('Activate User').click();
+        cy.get('[data-cy=context-menu]').contains('Activate user').click();
         cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
 
         // Check that user is active