|
|
|
@ -162,7 +162,7 @@ filterTests(["all"], () => { |
|
|
|
switchSchema("randomText") |
|
|
|
|
|
|
|
// No tables displayed
|
|
|
|
cy.get(".spectrum-Body", { timeout: 5000 }).eq(2).should("contain", "No tables found") |
|
|
|
cy.get(".spectrum-Body", { timeout: 20000 }).eq(2).should("contain", "No tables found") |
|
|
|
|
|
|
|
// Previously created query should be visible
|
|
|
|
cy.get(".spectrum-Table").should("contain", queryName) |
|
|
|
@ -173,7 +173,7 @@ filterTests(["all"], () => { |
|
|
|
switchSchema("1") |
|
|
|
|
|
|
|
// Confirm tables exist - Check for specific one
|
|
|
|
cy.get(".spectrum-Table", { timeout: 5000 }).eq(0).should("contain", "test") |
|
|
|
cy.get(".spectrum-Table", { timeout: 20000 }).eq(0).should("contain", "test") |
|
|
|
cy.get(".spectrum-Table") |
|
|
|
.eq(0) |
|
|
|
.find(".spectrum-Table-row") |
|
|
|
@ -187,7 +187,7 @@ filterTests(["all"], () => { |
|
|
|
switchSchema("public") |
|
|
|
|
|
|
|
// Confirm tables exist - again
|
|
|
|
cy.get(".spectrum-Table", { timeout: 5000 }).eq(0).should("contain", "REGIONS") |
|
|
|
cy.get(".spectrum-Table", { timeout: 20000 }).eq(0).should("contain", "REGIONS") |
|
|
|
cy.get(".spectrum-Table") |
|
|
|
.eq(0) |
|
|
|
.find(".spectrum-Table-row") |
|
|
|
|