mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Maybe localhost is not available on Travis CI?
This commit is contained in:
parent
9b4279c162
commit
cb215b850a
@ -2,7 +2,7 @@
|
||||
|
||||
const loginTestUser = function () {
|
||||
// Visiting our app before each test removes any state build up from
|
||||
cy.visit('http://localhost:3000/')
|
||||
cy.visit('http://127.0.0.1:3000/')
|
||||
.get('.layout-blank')
|
||||
.should('be.visible')
|
||||
|
||||
@ -40,7 +40,7 @@ const loginTestUser = function () {
|
||||
}
|
||||
|
||||
const logout = function () {
|
||||
cy.visit('http://localhost:3000/logout')
|
||||
cy.visit('http://127.0.0.1:3000/logout')
|
||||
|
||||
cy.location('pathname')
|
||||
.should('contain', '/login')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user