Skip to content
This repository was archived by the owner on Jun 8, 2022. It is now read-only.

Commit 90c331f

Browse files
committed
update base url check
1 parent 3d221d9 commit 90c331f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cypress.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"baseUrl": "http://localhost:8000/"
2+
"baseUrl": "http://localhost:8000"
33
}

cypress/integration/spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ describe('Gatsby blog', () => {
1313
cy.url().should('match', /page-2/)
1414
cy.contains('main > h1', 'Hi from the second page')
1515
cy.contains('a', 'Go back to the homepage').click()
16-
cy.url().should('equal', Cypress.config('baseUrl'))
16+
cy.url().should('include', Cypress.config('baseUrl'))
1717
})
1818
})

0 commit comments

Comments
 (0)