1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00

Fixing test case issue, Cypress not consistently opening app creation modal.

This commit is contained in:
mike12345567 2021-10-19 16:14:34 +01:00
parent d1676fa8f3
commit c57908f14d
3 changed files with 1354 additions and 29 deletions

View file

@ -35,7 +35,7 @@ Cypress.Commands.add("login", () => {
Cypress.Commands.add("createApp", name => {
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
cy.wait(500)
cy.contains(/Start from scratch/).click()
cy.contains(/Start from scratch/).dblclick()
cy.get(".spectrum-Modal").within(() => {
cy.get("input").eq(0).type(name).should("have.value", name).blur()
cy.get(".spectrum-ButtonGroup").contains("Create app").click()

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff