From d87d5f2fed7a84d1ccaa2a6a1efdf9ae1e6c3cd0 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Thu, 17 Feb 2022 14:06:17 +0000 Subject: [PATCH] Re-adding tests I had removed a lot of these for checking against the CI - adding them back in --- packages/builder/cypress/integration/addRadioButtons.spec.js | 2 +- packages/builder/cypress/integration/createApp.spec.js | 2 +- packages/builder/cypress/integration/createAutomation.spec.js | 2 +- packages/builder/cypress/integration/createBinding.spec.js | 2 +- packages/builder/cypress/integration/createScreen.js | 2 +- packages/builder/cypress/integration/createTable.spec.js | 2 +- packages/builder/cypress/integration/createUser.spec.js | 2 +- packages/builder/cypress/integration/createUserAndRoles.spec.js | 2 +- packages/builder/cypress/integration/createView.spec.js | 2 +- .../cypress/integration/datasources/datasourceWizard.spec.js | 2 +- packages/builder/cypress/integration/datasources/mySql.spec.js | 2 +- packages/builder/cypress/integration/datasources/oracle.spec.js | 2 +- .../builder/cypress/integration/datasources/postgreSql.spec.js | 2 +- packages/builder/cypress/integration/datasources/rest.spec.js | 2 +- .../builder/cypress/integration/queryLevelTransformers.spec.js | 2 +- .../builder/cypress/integration/renameAnApplication.spec.js | 2 +- packages/builder/cypress/integration/revertApp.spec.js | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/builder/cypress/integration/addRadioButtons.spec.js b/packages/builder/cypress/integration/addRadioButtons.spec.js index adba28586d..9888b56086 100644 --- a/packages/builder/cypress/integration/addRadioButtons.spec.js +++ b/packages/builder/cypress/integration/addRadioButtons.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['all'], () => { - xcontext("Add Radio Buttons", () => { + context("Add Radio Buttons", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/createApp.spec.js b/packages/builder/cypress/integration/createApp.spec.js index d3ab36fa7a..273683aec8 100644 --- a/packages/builder/cypress/integration/createApp.spec.js +++ b/packages/builder/cypress/integration/createApp.spec.js @@ -1,7 +1,7 @@ import filterTests from '../support/filterTests' filterTests(['smoke', 'all'], () => { - xcontext("Create an Application", () => { + context("Create an Application", () => { it("should create a new application", () => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/createAutomation.spec.js b/packages/builder/cypress/integration/createAutomation.spec.js index e070360637..e8892d16e2 100644 --- a/packages/builder/cypress/integration/createAutomation.spec.js +++ b/packages/builder/cypress/integration/createAutomation.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("Create a automation", () => { + context("Create a automation", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/createBinding.spec.js b/packages/builder/cypress/integration/createBinding.spec.js index c784ff155a..8bf1ec8ea4 100644 --- a/packages/builder/cypress/integration/createBinding.spec.js +++ b/packages/builder/cypress/integration/createBinding.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("Create Bindings", () => { + context("Create Bindings", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/createScreen.js b/packages/builder/cypress/integration/createScreen.js index 8a97e55aa0..ada68d82dc 100644 --- a/packages/builder/cypress/integration/createScreen.js +++ b/packages/builder/cypress/integration/createScreen.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(["smoke", "all"], () => { - xcontext("Screen Tests", () => { + context("Screen Tests", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/createTable.spec.js b/packages/builder/cypress/integration/createTable.spec.js index 3f31eb6721..47ba771524 100644 --- a/packages/builder/cypress/integration/createTable.spec.js +++ b/packages/builder/cypress/integration/createTable.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("Create a Table", () => { + context("Create a Table", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/createUser.spec.js b/packages/builder/cypress/integration/createUser.spec.js index 77243c97ff..18ae8a16a0 100644 --- a/packages/builder/cypress/integration/createUser.spec.js +++ b/packages/builder/cypress/integration/createUser.spec.js @@ -1,4 +1,4 @@ -xcontext("Create a User", () => { +context("Create a User", () => { before(() => { cy.login() }) diff --git a/packages/builder/cypress/integration/createUserAndRoles.spec.js b/packages/builder/cypress/integration/createUserAndRoles.spec.js index d9515f7cbf..d4f6f784f8 100644 --- a/packages/builder/cypress/integration/createUserAndRoles.spec.js +++ b/packages/builder/cypress/integration/createUserAndRoles.spec.js @@ -2,7 +2,7 @@ import filterTests from "../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("Create a User and Assign Roles", () => { + context("Create a User and Assign Roles", () => { before(() => { cy.login() }) diff --git a/packages/builder/cypress/integration/createView.spec.js b/packages/builder/cypress/integration/createView.spec.js index ffa45d1fcb..6b06cde0bc 100644 --- a/packages/builder/cypress/integration/createView.spec.js +++ b/packages/builder/cypress/integration/createView.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("Create a View", () => { + context("Create a View", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/datasources/datasourceWizard.spec.js b/packages/builder/cypress/integration/datasources/datasourceWizard.spec.js index 7049c837aa..0eefb750ac 100644 --- a/packages/builder/cypress/integration/datasources/datasourceWizard.spec.js +++ b/packages/builder/cypress/integration/datasources/datasourceWizard.spec.js @@ -1,7 +1,7 @@ import filterTests from "../../support/filterTests" filterTests(['all'], () => { - xcontext("Datasource Wizard", () => { + context("Datasource Wizard", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/datasources/mySql.spec.js b/packages/builder/cypress/integration/datasources/mySql.spec.js index 13f2a7b8e2..673a902f96 100644 --- a/packages/builder/cypress/integration/datasources/mySql.spec.js +++ b/packages/builder/cypress/integration/datasources/mySql.spec.js @@ -1,7 +1,7 @@ import filterTests from "../../support/filterTests" filterTests(['all'], () => { - xcontext("MySQL Datasource Testing", () => { + context("MySQL Datasource Testing", () => { if (Cypress.env("TEST_ENV")) { before(() => { diff --git a/packages/builder/cypress/integration/datasources/oracle.spec.js b/packages/builder/cypress/integration/datasources/oracle.spec.js index 25d6efeae3..ce41ef7936 100644 --- a/packages/builder/cypress/integration/datasources/oracle.spec.js +++ b/packages/builder/cypress/integration/datasources/oracle.spec.js @@ -1,7 +1,7 @@ import filterTests from "../../support/filterTests" filterTests(['all'], () => { - xcontext("Oracle Datasource Testing", () => { + context("Oracle Datasource Testing", () => { if (Cypress.env("TEST_ENV")) { before(() => { diff --git a/packages/builder/cypress/integration/datasources/postgreSql.spec.js b/packages/builder/cypress/integration/datasources/postgreSql.spec.js index eaae62646c..c8ff915f90 100644 --- a/packages/builder/cypress/integration/datasources/postgreSql.spec.js +++ b/packages/builder/cypress/integration/datasources/postgreSql.spec.js @@ -1,7 +1,7 @@ import filterTests from "../../support/filterTests" filterTests(['all'], () => { - xcontext("PostgreSQL Datasource Testing", () => { + context("PostgreSQL Datasource Testing", () => { if (Cypress.env("TEST_ENV")) { before(() => { diff --git a/packages/builder/cypress/integration/datasources/rest.spec.js b/packages/builder/cypress/integration/datasources/rest.spec.js index 4272d260a1..89653a9e22 100644 --- a/packages/builder/cypress/integration/datasources/rest.spec.js +++ b/packages/builder/cypress/integration/datasources/rest.spec.js @@ -1,7 +1,7 @@ import filterTests from "../../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("REST Datasource Testing", () => { + context("REST Datasource Testing", () => { before(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/queryLevelTransformers.spec.js b/packages/builder/cypress/integration/queryLevelTransformers.spec.js index eb399cca0c..e1b16774fb 100644 --- a/packages/builder/cypress/integration/queryLevelTransformers.spec.js +++ b/packages/builder/cypress/integration/queryLevelTransformers.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("Query Level Transformers", () => { + context("Query Level Transformers", () => { before(() => { cy.login() cy.deleteApp("Cypress Tests") diff --git a/packages/builder/cypress/integration/renameAnApplication.spec.js b/packages/builder/cypress/integration/renameAnApplication.spec.js index b14ebd6d75..48e829fa03 100644 --- a/packages/builder/cypress/integration/renameAnApplication.spec.js +++ b/packages/builder/cypress/integration/renameAnApplication.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['all'], () => { - xcontext("Rename an App", () => { + context("Rename an App", () => { beforeEach(() => { cy.login() cy.createTestApp() diff --git a/packages/builder/cypress/integration/revertApp.spec.js b/packages/builder/cypress/integration/revertApp.spec.js index ee257a7c08..5bd2679e34 100644 --- a/packages/builder/cypress/integration/revertApp.spec.js +++ b/packages/builder/cypress/integration/revertApp.spec.js @@ -1,7 +1,7 @@ import filterTests from "../support/filterTests" filterTests(['smoke', 'all'], () => { - xcontext("Revert apps", () => { + context("Revert apps", () => { before(() => { cy.login() cy.createTestApp()