Skip to content

Commit

Permalink
fix: increase wait before checking application of prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsSmets committed Dec 12, 2024
1 parent 8c5f83a commit a96cad7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/e2e/no-profile/debug/custom-editor.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit a96cad7

Please sign in to comment.