mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Refactor to use url()
This commit is contained in:
parent
faf25f5e45
commit
33ddeeebd3
@ -310,6 +310,6 @@ Then('see {int} unread notifications in the top menu', count => {
|
||||
|
||||
Then('I get to the post page of {string}', path => {
|
||||
path = path.replace('...', '')
|
||||
cy.location('pathname').should('contain', '/post/')
|
||||
cy.location('pathname').should('contain', path)
|
||||
cy.url().should('contain', '/post/')
|
||||
cy.url().should('contain', path)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user