Skip to content

Commit

Permalink
Rephrase test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhabib committed Oct 10, 2024
1 parent 2ebc604 commit 3c8e02f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cypress/e2e/urlHandling.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe('URL handling', () => {
/*
The CodeMirror element is not visible, but it is in the DOM
This test fails because the element doesn't meet Cypress's requirements for being hidden
Not sure why Cypress's hidden requirement isn't met
https://docs.cypress.io/guides/core-concepts/interacting-with-elements#An-element-is-considered-hidden-if
*/
// cy.get('.CodeMirror-code').should('be.hidden');
Expand Down Expand Up @@ -87,12 +88,6 @@ describe('URL handling', () => {
cy.get('textarea').should('not.be.focused');

// Todo - write a test that checks the CodeMirror element is not visible
/*
The CodeMirror element is not visible, but it is in the DOM
This test fails because the element doesn't meet Cypress's requirements for being hidden
https://docs.cypress.io/guides/core-concepts/interacting-with-elements#An-element-is-considered-hidden-if
*/
// cy.get('.CodeMirror-code').should('be.hidden');
});
});
});

0 comments on commit 3c8e02f

Please sign in to comment.