19383: Rename advanced dialog to api details in cypress tests 19383-advanced-dialog
authorStephen Smith <stephen@curii.com>
Fri, 2 Sep 2022 14:03:32 +0000 (10:03 -0400)
committerStephen Smith <stephen@curii.com>
Fri, 2 Sep 2022 14:03:32 +0000 (10:03 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/project.spec.js
cypress/integration/search.spec.js
cypress/integration/user-profile.spec.js

index b2f6f33df33fc0772f0a6eedbf2973aff9a87d7e..9c5e791cda64c849fb6ca15c4cc1d1ec39141982 100644 (file)
@@ -301,7 +301,7 @@ describe('Project tests', function() {
 
                     cy.get('main').contains(projectName).rightclick();
 
-                    cy.get('[data-cy=context-menu]').contains('Advanced').click();
+                    cy.get('[data-cy=context-menu]').contains('API Details').click();
 
                     cy.get('[role=tablist]').contains('METADATA').click();
 
index 2216c067f8423f7c36fdfd4c7b10ca23402d707c..da33c7df02881dfc1d62c5bd9f03fa229e665362 100644 (file)
@@ -241,7 +241,7 @@ describe('Search tests', function() {
             cy.get('[data-cy=context-menu]').within((ctx) => {
                 // Check that there are 4 items in the menu
                 cy.get(ctx).children().should('have.length', 4);
-                cy.contains('Advanced');
+                cy.contains('API Details');
                 cy.contains('Copy to clipboard');
                 cy.contains('Open in new tab');
                 cy.contains('View details');
index 7d21249c4bc38d7b9331d3ee9d6a6fbd3ccc05a9..d91dbb0bc5bf4a49f98e7ffd256b2df31248edfb 100644 (file)
@@ -76,7 +76,7 @@ describe('User profile tests', function() {
     }) {
         cy.get('[data-cy=user-profile-panel-options-btn]').click();
         cy.get('[data-cy=context-menu]').within(() => {
-            cy.get('[role=button]').contains('Advanced');
+            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');