From 72c029a1b525a56dcbcb3d973b5e056e3ac4f1e7 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Wed, 11 May 2022 17:23:05 +0100 Subject: [PATCH] Update Commnds.js Specifically updating the createTestApp function - Creates a 'home' screen when a test app is being created --- packages/builder/cypress/support/commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index 26acf2c889..eeafc42eb6 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -144,6 +144,7 @@ Cypress.Commands.add("createTestApp", () => { const appName = "Cypress Tests" cy.deleteApp(appName) cy.createApp(appName, "This app is used for Cypress testing.") + cy.createScreen("home") }) Cypress.Commands.add("createTestTableWithData", () => {