From ab79deea424c10cd98e57fcbfc3637c96456757c Mon Sep 17 00:00:00 2001 From: Tanya Fomina Date: Thu, 25 Apr 2024 22:51:49 +0300 Subject: [PATCH] Fix popover tests --- test/cypress/tests/utils/popover.cy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cypress/tests/utils/popover.cy.ts b/test/cypress/tests/utils/popover.cy.ts index ab0f5689..cf937c61 100644 --- a/test/cypress/tests/utils/popover.cy.ts +++ b/test/cypress/tests/utils/popover.cy.ts @@ -649,7 +649,8 @@ describe('Popover', () => { .should('not.exist'); /** Press Tab */ - cy.tab(); + // eslint-disable-next-line cypress/require-data-selectors -- cy.tab() not working here + cy.get('body').tab(); /** Check first item is not focused */ cy.get('[data-cy=editorjs]')