1
0
Fork 0
mirror of synced 2024-09-17 17:57:47 +12:00

Try to fix cypress tests again

This commit is contained in:
Andrew Kingston 2022-02-25 13:40:23 +00:00
parent 9bc38c4105
commit 2434f1169d

View file

@ -172,6 +172,7 @@ Cypress.Commands.add("addRow", values => {
Cypress.Commands.add("addRowMultiValue", values => {
cy.contains("Create row").click()
cy.get(".spectrum-Modal").within(() => {
cy.get(".spectrum-Form-itemField")
.click()
.then(() => {
@ -184,6 +185,7 @@ Cypress.Commands.add("addRowMultiValue", values => {
cy.get(".spectrum-ButtonGroup").contains("Create").click()
})
})
})
Cypress.Commands.add("createUser", email => {
// quick hacky recorded way to create a user