From dbdb2750b4b081c5c039673ec98459fc2ea9c0a4 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Tue, 18 Jan 2022 16:12:53 +0000 Subject: [PATCH] Table Test fix - Add row to table Fixing the command associated with adding a row to a table --- .gitignore | 1 + packages/builder/cypress/support/commands.js | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 086813c97e..6652344b0b 100644 --- a/.gitignore +++ b/.gitignore @@ -93,3 +93,4 @@ hosting/.generated-envoy.dev.yaml # Sublime text *.sublime-project *.sublime-workspace +packages/builder/cypress.env.json diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index cc0366cf8c..666025e635 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -282,12 +282,6 @@ Cypress.Commands.add("addRow", values => { } cy.get(".spectrum-ButtonGroup").contains("Create").click() }) - cy.get(".spectrum-Modal").within(() => { - cy.get("input").first().clear().type(screenName) - cy.get("input").eq(1).clear().type(route) - cy.get(".spectrum-Button--cta").click() - cy.wait(2000) - }) }) Cypress.Commands.add("expandBudibaseConnection", () => {