diff --git a/cypress/e2e/no-profile/debug/custom-editor.cy.ts b/cypress/e2e/no-profile/debug/custom-editor.cy.ts index 3b89842d..c4cb9c92 100644 --- a/cypress/e2e/no-profile/debug/custom-editor.cy.ts +++ b/cypress/e2e/no-profile/debug/custom-editor.cy.ts @@ -28,10 +28,12 @@ describe('Tests for custom editor in debug tab', () => { numberOfLines = elements.length; }); cy.get('@viewDropDown').select('Xml'); + cy.wait(500) cy.get('div.line-numbers').then((elements) => { expect(elements.length).to.be.greaterThan(numberOfLines); }); cy.get('@viewDropDown').select('Raw'); + cy.wait(500) cy.get('div.line-numbers').then((elements) => { expect(elements.length).to.eq(numberOfLines); });