From e7e2b801e91471c58725c08e89daaf30dc0ab04f Mon Sep 17 00:00:00 2001 From: Nelson Jovel Date: Fri, 1 Dec 2023 15:09:20 -0800 Subject: [PATCH] chore: turn off journey spec --- cypress/e2e/journey.cy.js | 42 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/cypress/e2e/journey.cy.js b/cypress/e2e/journey.cy.js index aa11c187..f150b682 100644 --- a/cypress/e2e/journey.cy.js +++ b/cypress/e2e/journey.cy.js @@ -12,27 +12,27 @@ // https://on.cypress.io/introduction-to-cypress describe('navigates the site', () => { - it('displays the div containing the framework wheel', () => { - cy.visit('/') - cy.get('.framework-wheel-container').should('have.length', 1) - }) - - it('displays the title of the teachers and leadership accordion', () => { - cy.visit('/') - cy.get('[data-bs-target="#teachers-and-leadership-item"]').should('include.text', "Teachers & Leadership") - }) - - it('shows schools when a district is selected', () => { - cy.visit('/') - cy.get("#school-dropdown").select('Abraham Lincoln Elementary School') - cy.get("#school-dropdown").children("option[selected='selected']").should('have.text', 'Abraham Lincoln Elementary School') - cy.get("a[href='/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24']") - - cy.get('#schools').within(($schools) => { - cy.contains('Go').click() - }) - cy.url().should('include', '/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24') - }) + // it('displays the div containing the framework wheel', () => { + // cy.visit('/') + // cy.get('.framework-wheel-container').should('have.length', 1) + // }) + + // it('displays the title of the teachers and leadership accordion', () => { + // cy.visit('/') + // cy.get('[data-bs-target="#teachers-and-leadership-item"]').should('include.text', "Teachers & Leadership") + // }) + + // it('shows schools when a district is selected', () => { + // cy.visit('/') + // cy.get("#school-dropdown").select('Abraham Lincoln Elementary School') + // cy.get("#school-dropdown").children("option[selected='selected']").should('have.text', 'Abraham Lincoln Elementary School') + // cy.get("a[href='/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24']") + + // cy.get('#schools').within(($schools) => { + // cy.contains('Go').click() + // }) + // cy.url().should('include', '/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24') + // }) })