mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
chore: limit search space for go button
This commit is contained in:
parent
4450b5f331
commit
c602ae9db7
1 changed files with 3 additions and 2 deletions
|
|
@ -28,8 +28,9 @@ describe('navigates the site', () => {
|
|||
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.contains('Go').click()
|
||||
|
||||
cy.get('#schools').within(($schools) => {
|
||||
cy.contains('Go').click()
|
||||
})
|
||||
cy.url().should('include', '/districts/lowell/schools/abraham-lincoln-elementary-school/overview?year=2023-24')
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue