From 50213ef17e89c257c36ac88f44c646c200690178 Mon Sep 17 00:00:00 2001 From: rebuilt Date: Wed, 19 Jul 2023 12:53:19 -0700 Subject: [PATCH] chore: get go button before trying to click it --- cypress/e2e/journey.cy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/journey.cy.js b/cypress/e2e/journey.cy.js index 437af372..96e744ec 100644 --- a/cypress/e2e/journey.cy.js +++ b/cypress/e2e/journey.cy.js @@ -26,6 +26,7 @@ describe('navigates the site', () => { 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.contains('Go').click()