1
0
Fork 0
mirror of synced 2024-05-29 16:50:00 +12:00

Updating createAutomation.spec.js

The + symbol button for creating an automation has been removed. It has been replaced with a button which says 'Add automation'

I have updated the create automation test to now click on this button when creating a new automation. This test was failing due to the other button no longer existing
This commit is contained in:
Mitch-Budibase 2022-11-15 16:20:40 +00:00
parent 40849d1ca4
commit 1246d25f0f

View file

@ -12,7 +12,7 @@ filterTests(['smoke', 'all'], () => {
cy.createTestTableWithData()
cy.wait(2000)
cy.contains("Automate").click()
cy.get(interact.ADD_BUTTON_SPECTRUM).click()
cy.get(interact.SPECTRUM_BUTTON_TEMPLATE).contains("Add automation").click({ force: true })
cy.get(interact.MODAL_INNER_WRAPPER).within(() => {
cy.get("input").type("Add Row")
cy.contains("Row Created").click({ force: true })