Merge pull request #5852 from Budibase/cypress-testing

Postgres Smoke Built Test Change
This commit is contained in:
Mitch-Budibase 2022-05-12 16:06:58 +01:00 committed by GitHub
commit 6858002c5b
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ filterTests(["all"], () => {
const queryName = "Cypress Test Query" const queryName = "Cypress Test Query"
const queryRename = "CT Query Rename" const queryRename = "CT Query Rename"
it("Should add PostgreSQL data source without configuration", () => { xit("Should add PostgreSQL data source without configuration", () => {
// Select PostgreSQL data source // Select PostgreSQL data source
cy.selectExternalDatasource(datasource) cy.selectExternalDatasource(datasource)
// Attempt to fetch tables without applying configuration // Attempt to fetch tables without applying configuration
@ -107,7 +107,7 @@ filterTests(["all"], () => {
}) })
it("should delete a relationship", () => { it("should delete a relationship", () => {
cy.get(".hierarchy-items-container").contains("PostgreSQL-2").click() cy.get(".hierarchy-items-container").contains("PostgreSQL").click()
cy.reload() cy.reload()
// Delete one relationship // Delete one relationship
cy.get(".spectrum-Table") cy.get(".spectrum-Table")
@ -155,7 +155,7 @@ filterTests(["all"], () => {
it("should switch to schema with no tables", () => { it("should switch to schema with no tables", () => {
// Switch Schema - To one without any tables // Switch Schema - To one without any tables
cy.get(".hierarchy-items-container").contains("PostgreSQL-2").click() cy.get(".hierarchy-items-container").contains("PostgreSQL").click()
switchSchema("randomText") switchSchema("randomText")
// No tables displayed // No tables displayed