Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 94214c5

Browse files
committed
Scroll to the dojo results before looking for the link
1 parent 01108e5 commit 94214c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cypress/integration/cookie-notice_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ describe('Cookie Notice', () => {
1818
cy.get(basePage.cookieNoticeDismiss).should('be.visible');
1919
cy.get(findDojoPage.addressSearchInput).type('dublin');
2020
cy.get(findDojoPage.addressSearchButton).click();
21+
cy.get(findDojoPage.dojoLinks).scrollIntoView();
2122
cy.get(findDojoPage.dojoLinks).eq(0).click();
2223
cy.get(dojoDetailsPage.name).should('be.visible');
2324
cy.get(basePage.cookieNoticeDismiss).should('not.be.visible');

0 commit comments

Comments
 (0)