chore: turn off journey spec

rpp-main
Nelson Jovel 2 years ago
parent 3da6016635
commit e7e2b801e9

@ -12,27 +12,27 @@
// https://on.cypress.io/introduction-to-cypress // https://on.cypress.io/introduction-to-cypress
describe('navigates the site', () => { describe('navigates the site', () => {
it('displays the div containing the framework wheel', () => { // it('displays the div containing the framework wheel', () => {
cy.visit('/') // cy.visit('/')
cy.get('.framework-wheel-container').should('have.length', 1) // cy.get('.framework-wheel-container').should('have.length', 1)
}) // })
it('displays the title of the teachers and leadership accordion', () => { // it('displays the title of the teachers and leadership accordion', () => {
cy.visit('/') // cy.visit('/')
cy.get('[data-bs-target="#teachers-and-leadership-item"]').should('include.text', "Teachers & Leadership") // cy.get('[data-bs-target="#teachers-and-leadership-item"]').should('include.text', "Teachers & Leadership")
}) // })
it('shows schools when a district is selected', () => { // it('shows schools when a district is selected', () => {
cy.visit('/') // cy.visit('/')
cy.get("#school-dropdown").select('Abraham Lincoln Elementary School') // 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("#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("a[href='/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24']")
cy.get('#schools').within(($schools) => { // cy.get('#schools').within(($schools) => {
cy.contains('Go').click() // cy.contains('Go').click()
}) // })
cy.url().should('include', '/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24') // cy.url().should('include', '/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24')
}) // })
}) })

Loading…
Cancel
Save