mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fixed username test on settings page by waiting for the form to be saved
This commit is contained in:
parent
a3a229c36f
commit
54b690bcc7
@ -16,7 +16,9 @@ const setUserName = name => {
|
||||
cy.get('input[id=name]')
|
||||
.clear()
|
||||
.type(name)
|
||||
cy.contains('Save').click()
|
||||
cy.contains('Save')
|
||||
.click()
|
||||
.wait(200)
|
||||
myName = name
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user