Browse Source

Updated createApp.spec.js

Including an extended timeout for the first test. Specifically when the test is looking for the create app button
pull/6865/head
Mitch-Budibase 4 years ago
parent
commit
bec8e3be3e
  1. 2
      packages/builder/cypress/integration/createApp.spec.js

2
packages/builder/cypress/integration/createApp.spec.js

@ -13,7 +13,7 @@ filterTests(['smoke', 'all'], () => {
it("should show the new user UI/UX", () => {
cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/create`, { timeout: 5000 }) //added /portal/apps/create
cy.wait(1000)
cy.get(interact.CREATE_APP_BUTTON).contains('Start from scratch').should("exist")
cy.get(interact.CREATE_APP_BUTTON, { timeout: 10000 }).contains('Start from scratch').should("exist")
cy.get(interact.TEMPLATE_CATEGORY_FILTER).should("exist")
cy.get(interact.TEMPLATE_CATEGORY).should("exist")

Loading…
Cancel
Save