Explorar o código

Revert "Fixed VRT"

This reverts commit 0f2e26552e374872fd8578fae485abbb6e777812.
Taichi Masuyama %!s(int64=3) %!d(string=hai) anos
pai
achega
63133c4bb5

+ 0 - 1
packages/app/src/components/Common/ClosableTextInput.tsx

@@ -114,7 +114,6 @@ const ClosableTextInput: FC<ClosableTextInputProps> = memo((props: ClosableTextI
         className="form-control"
         placeholder={props.placeholder}
         name="input"
-        data-testid="closable-text-input"
         onFocus={onFocusHandler}
         onChange={onChangeHandler}
         onKeyDown={onKeyDownHandler}

+ 1 - 1
packages/app/test/cypress/integration/50-sidebar/access-to-side-bar.spec.ts

@@ -102,7 +102,7 @@ context('Access to sidebar', () => {
     });
 
     cy.get('.grw-pagetree-item-children').eq(0).within(() => {
-      cy.getByTestid('closable-text-input').type('_newname');
+      cy.get('.flex-fill > input').type('_newname');
     });
 
     cy.getByTestid('grw-contextual-navigation-sub').screenshot(`${ssPrefix}page-tree-6-rename-page`);