Shun Miyazawa 4 лет назад
Родитель
Сommit
7aa21f65cd

+ 1 - 1
packages/app/src/components/Navbar/SubNavButtons.tsx

@@ -171,7 +171,7 @@ const SubNavButtonsSubstance = (props: SubNavButtonsSubstanceProps): JSX.Element
       ) }
       { showPageControlDropdown && (
         <PageItemControl
-          dataTestId="grw-subnav-container-page-item-control"
+          dataTestId="sub-nav-buttons-page-item-control"
           pageId={pageId}
           pageInfo={pageInfo}
           isEnableActions={!isGuestUser}

+ 2 - 2
packages/app/test/cypress/integration/2-basic-features/access-to-presentation.spec.ts

@@ -1,5 +1,5 @@
 
-context('Access to page', () => {
+context('Open presentation modal', () => {
   const ssPrefix = 'access-to-presentation-modal-';
 
   let connectSid: string | undefined;
@@ -22,7 +22,7 @@ context('Access to page', () => {
 
   it('Successfully loaded the presentation modal in /.', () => {
     cy.visit('/');
-    cy.getByTestid('grw-subnav-container-page-item-control').click();
+    cy.getByTestid('sub-nav-buttons-page-item-control').click();
     cy.getByTestid('open-presentation-modal-btn').click();
     // eslint-disable-next-line cypress/no-unnecessary-waiting
     cy.wait(1500);