Try to fix test

This commit is contained in:
Grzegorz Leoniec 2019-01-21 11:49:37 +01:00
parent 6c74531608
commit 834973f3d3
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -40,7 +40,7 @@ Given('I am viewing a post', () => {
cy.visit('/')
cy.get('.post-card:nth(2)')
.click()
.wait(200)
.wait(300)
cy.location('pathname').should('contain', '/post')
})