mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix cypress tests
This commit is contained in:
parent
b58b4dca4f
commit
b7d70bbe90
@ -18,6 +18,8 @@ When('I save {string} as my new name', name => {
|
||||
cy.get('[type=submit]')
|
||||
.click()
|
||||
.not('[disabled]')
|
||||
cy.get('.iziToast-message')
|
||||
.should('contain', 'Your data was successfully updated')
|
||||
})
|
||||
|
||||
When('I save {string} as my location', location => {
|
||||
@ -28,6 +30,8 @@ When('I save {string} as my location', location => {
|
||||
cy.get('[type=submit]')
|
||||
.click()
|
||||
.not('[disabled]')
|
||||
cy.get('.iziToast-message')
|
||||
.should('contain', 'Your data was successfully updated')
|
||||
myLocation = location
|
||||
})
|
||||
|
||||
@ -38,6 +42,8 @@ When('I have the following self-description:', text => {
|
||||
cy.get('[type=submit]')
|
||||
.click()
|
||||
.not('[disabled]')
|
||||
cy.get('.iziToast-message')
|
||||
.should('contain', 'Your data was successfully updated')
|
||||
aboutMeText = text
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user