Revert "Maybe localhost is not available on Travis CI?"

This reverts commit cb215b850a2d0e6d9a713a16855f765e8273c9e5.
This commit is contained in:
Robert Schäfer 2018-12-08 12:08:27 +01:00
parent 287aa96a3f
commit 4b8ac0836c

View File

@ -2,7 +2,7 @@
const loginTestUser = function () {
// Visiting our app before each test removes any state build up from
cy.visit('http://127.0.0.1:3000/')
cy.visit('http://localhost:3000/')
.get('.layout-blank')
.should('be.visible')
@ -40,7 +40,7 @@ const loginTestUser = function () {
}
const logout = function () {
cy.visit('http://127.0.0.1:3000/logout')
cy.visit('http://localhost:3000/logout')
cy.location('pathname')
.should('contain', '/login')