Browse Source

Merge pull request #5852 from Budibase/cypress-testing

Postgres Smoke Built Test Change
pull/5857/head
Mitch-Budibase 4 years ago
committed by GitHub
parent
commit
a53435842d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/builder/cypress/integration/datasources/postgreSql.spec.js

6
packages/builder/cypress/integration/datasources/postgreSql.spec.js

@ -11,7 +11,7 @@ filterTests(["all"], () => {
const queryName = "Cypress Test Query"
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
cy.selectExternalDatasource(datasource)
// Attempt to fetch tables without applying configuration
@ -107,7 +107,7 @@ filterTests(["all"], () => {
})
it("should delete a relationship", () => {
cy.get(".hierarchy-items-container").contains("PostgreSQL-2").click()
cy.get(".hierarchy-items-container").contains("PostgreSQL").click()
cy.reload()
// Delete one relationship
cy.get(".spectrum-Table")
@ -155,7 +155,7 @@ filterTests(["all"], () => {
it("should switch to schema with no 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")
// No tables displayed

Loading…
Cancel
Save