21448: adjusted specs to fit capitalization standardization Arvados-DCO-1.1-Signed...
authorLisa Knox <lisaknox83@gmail.com>
Thu, 28 Mar 2024 15:01:26 +0000 (11:01 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Thu, 28 Mar 2024 15:01:26 +0000 (11:01 -0400)
services/workbench2/cypress/e2e/collection.cy.js
services/workbench2/cypress/e2e/process.cy.js
services/workbench2/cypress/e2e/project.cy.js
services/workbench2/cypress/e2e/user-profile.cy.js

index c5edf0e4f2d64edadbcab474ed747e9d54380b48..9c25f48f58eb87d67b5878f50cd7c316ac13761e 100644 (file)
@@ -31,7 +31,7 @@ describe("Collection panel tests", function () {
 
         const msButtonTooltips = [
             'API Details',
-            'Add to Favorites',
+            'Add to favorites',
             'Copy to clipboard',
             'Edit collection',
             'Make a copy',
index 2a5a62927fd981f09132d1a9c5eb6a1db9205c2f..ccef34efbc4d91b3c2721a71bf0e807e2a01b6a2 100644 (file)
@@ -90,7 +90,7 @@ describe("Process tests", function () {
 
             const msButtonTooltips = [
                 'API Details',
-                'Add to Favorites',
+                'Add to favorites',
                 'CANCEL',
                 'Copy and re-run process',
                 'Edit process',
index 4aeb59bc75ef4d8cfe79a6e187e3e12411fdcf5e..4b38fe6d929e6624c9897149e767675d1de2a561 100644 (file)
@@ -220,10 +220,10 @@ describe("Project tests", function () {
 
         const msButtonTooltips = [
             'API Details',
-            'Add to Favorites',
+            'Add to favorites',
             'Copy to clipboard',
             'Edit project',
-            'Freeze Project',
+            'Freeze project',
             'Move to',
             'Move to trash',
             'New project',
index 0a06eaf361ba97763ba20d4730001c3b26e93378..f1ae051331b7690569527b45769c00b03dd25c7b 100644 (file)
@@ -80,7 +80,7 @@ describe('User profile tests', function() {
 
             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(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');
         });
@@ -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
@@ -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');