Browse Source
Merge pull request #7250 from Budibase/cypress-testing
Updating createApp test command
pull/7310/head
Mitch-Budibase
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
packages/builder/cypress/integration/addMultiOptionDatatype.spec.js
-
packages/builder/cypress/support/commands.js
|
|
|
@ -2,7 +2,7 @@ import filterTests from "../support/filterTests" |
|
|
|
const interact = require('../support/interact') |
|
|
|
|
|
|
|
filterTests(['all'], () => { |
|
|
|
xcontext("Add Multi-Option Datatype", () => { |
|
|
|
context("Add Multi-Option Datatype", () => { |
|
|
|
before(() => { |
|
|
|
cy.login() |
|
|
|
cy.createTestApp() |
|
|
|
|
|
|
|
@ -164,7 +164,7 @@ Cypress.Commands.add("createApp", (name, addDefaultTable) => { |
|
|
|
typeof addDefaultTable != "boolean" ? true : addDefaultTable |
|
|
|
|
|
|
|
cy.visit(`${Cypress.config().baseUrl}/builder`, { timeout: 10000 }) |
|
|
|
cy.wait(1000) |
|
|
|
cy.url({ timeout: 30000 }).should("include", "/apps") |
|
|
|
cy.get(`[data-cy="create-app-btn"]`, { timeout: 5000 }).click({ force: true }) |
|
|
|
|
|
|
|
// If apps already exist
|
|
|
|
|