From a6a7724f7d741d2ff755e6f3808c0d7920885457 Mon Sep 17 00:00:00 2001 From: Alex Varchuk Date: Tue, 15 Oct 2024 19:31:19 +0200 Subject: [PATCH] chore: try to fix e2e tests part 2 --- e2e/integration/menu.e2e.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/e2e/integration/menu.e2e.ts b/e2e/integration/menu.e2e.ts index 91a56630b..61dcf1d67 100644 --- a/e2e/integration/menu.e2e.ts +++ b/e2e/integration/menu.e2e.ts @@ -60,24 +60,21 @@ describe('Menu', () => { .wait(100) .get('[role=menuitem] > label.active') .children('span[type="badge"]') - .should('have.text', 'Beta') - .should('be.visible'); + .should('have.text', 'Beta'); cy.contains('h2 > span', 'Alpha') .scrollIntoView() .wait(100) .get('[role=menuitem] > label.active') .children('span[type="badge"]') - .should('have.text', 'Alpha') - .should('be.visible'); + .should('have.text', 'Alpha'); cy.contains('h2 > span', 'Gamma') .scrollIntoView() .wait(100) .get('[role=menuitem] > label.active') .children('span[type="badge"]') - .should('have.text', 'Gamma') - .should('be.visible'); + .should('have.text', 'Gamma'); }); it('should contains Cat schema in Pet using x-tags', () => {