From 3c8e02f05fa21d03ec1ffd3c1b76c3c072989bec Mon Sep 17 00:00:00 2001 From: Felix Habib Date: Thu, 10 Oct 2024 15:10:22 +1100 Subject: [PATCH] Rephrase test comment --- cypress/e2e/urlHandling.cy.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cypress/e2e/urlHandling.cy.ts b/cypress/e2e/urlHandling.cy.ts index 7e8805dc..029d804f 100644 --- a/cypress/e2e/urlHandling.cy.ts +++ b/cypress/e2e/urlHandling.cy.ts @@ -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'); @@ -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'); }); }); });