Merge pull request #6596 from Budibase/cypress-testing

Cypress: User Details Test Fix
This commit is contained in:
Mitch-Budibase 2022-07-07 13:04:03 +01:00 committed by GitHub
commit c331c8c606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -176,12 +176,12 @@ filterTests(["smoke", "all"], () => {
// Add First name // Add First name
cy.get(interact.FIELD, { timeout: 1000 }).eq(2).within(() => { cy.get(interact.FIELD, { timeout: 1000 }).eq(2).within(() => {
cy.wait(500) cy.wait(500)
cy.get(interact.SPECTRUM_TEXTFIELD_INPUT, { timeout: 1000 }).click().type("bb") cy.get(interact.SPECTRUM_TEXTFIELD_INPUT, { timeout: 1000 }).wait(500).clear().click().type("bb")
}) })
// Add Last name // Add Last name
cy.get(interact.FIELD, { timeout: 1000 }).eq(3).within(() => { cy.get(interact.FIELD, { timeout: 1000 }).eq(3).within(() => {
cy.wait(500) cy.wait(500)
cy.get(interact.SPECTRUM_TEXTFIELD_INPUT, { timeout: 1000 }).click().type("test") cy.get(interact.SPECTRUM_TEXTFIELD_INPUT, { timeout: 1000 }).click().wait(500).clear().type("test")
}) })
cy.get(interact.FIELD, { timeout: 1000 }).eq(0).click() cy.get(interact.FIELD, { timeout: 1000 }).eq(0).click()
// Reload page // Reload page