1
0
Fork 0
mirror of synced 2024-08-18 03:21:29 +12:00

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

View file

@ -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