Yuken Tezuka 3 лет назад
Родитель
Сommit
2dfa71505d

+ 1 - 1
packages/app/src/components/PageEditor/Editor.tsx

@@ -242,7 +242,7 @@ const Editor = React.forwardRef((props: EditorPropsType, ref): JSX.Element => {
         <ul className="pl-2 nav nav-navbar">
           { methods.getNavbarItems?.().map((item, idx) => {
             // eslint-disable-next-line react/no-array-index-key
-            return <li key={`navbarItem-${idx}`} data-testid="editor-navbar-button">{item}</li>;
+            return <li key={`navbarItem-${idx}`}>{item}</li>;
           }) }
         </ul>
       </div>

+ 0 - 1
packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

@@ -39,7 +39,6 @@ context('Access to page', () => {
 
   it('/Sandbox with edit is successfully loaded', () => {
     cy.visit('/Sandbox#edit');
-    cy.getByTestid('editor-navbar-button').should('be.visible');
     cy.screenshot(`${ssPrefix}-sandbox-edit-page`);
   })