From a6c7b6ab2638555c71b4d401efd23b97f73425ce Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Thu, 19 May 2022 15:23:53 +0100 Subject: [PATCH 1/4] Template Testing Refactor Directly visiting the templates URL --- .../templates/HR/hrTemplateDetails.spec.js | 8 +------- .../templates/HR/jobApplicationTracker.spec.js | 4 ++-- .../templates/IT/ITTemplateDetails.spec.js | 8 +------- .../templates/IT/ITTicketingSystem.spec.js | 4 ++-- .../adminPanelsTemplateDetails.spec.js | 8 +------- .../approvalAppsTemplateDetails.spec.js | 8 +------- .../businessAppsTemplateDetails.spec.js | 10 ++-------- .../directoriesTemplateDetails.spec.js | 8 +------- .../forms/formsTemplateDetails.spec.js | 8 +------- .../healthcareTemplateDetails.spec.js | 8 +------- .../legal/legalTemplateDetails.spec.js | 8 +------- .../logistics/logisticsTemplateDetails.spec.js | 8 +------- .../manufacturingTemplateDetails.spec.js | 8 +------- .../marketing/marketingTemplateDetails.spec.js | 8 +------- .../operationsTemplateDetails.spec.js | 8 +------- .../portals/portalsTemplateDetails.spec.js | 18 ++++++------------ ...professionalServicesTemplateDetails.spec.js | 8 +------- packages/builder/cypress/support/commands.js | 12 ------------ 18 files changed, 25 insertions(+), 127 deletions(-) diff --git a/packages/builder/cypress/integration/templates/HR/hrTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/HR/hrTemplateDetails.spec.js index 9a00645ced..fbac463bfe 100644 --- a/packages/builder/cypress/integration/templates/HR/hrTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/HR/hrTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter HR Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js b/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js index ff6cb91bad..3bfbd43738 100644 --- a/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js +++ b/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js @@ -8,13 +8,13 @@ filterTests(["all"], () => { before(() => { cy.login() cy.deleteApp(templateName) - cy.visit(`${Cypress.config().baseUrl}/builder`, { + // Template navigation + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`, { onBeforeLoad(win) { cy.stub(win, 'open') } }) cy.wait(2000) - cy.templateNavigation() }) it("should create and publish app with Job Application Tracker template", () => { diff --git a/packages/builder/cypress/integration/templates/IT/ITTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/IT/ITTemplateDetails.spec.js index baebeef60a..84cbc5707e 100644 --- a/packages/builder/cypress/integration/templates/IT/ITTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/IT/ITTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter IT Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js b/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js index 118625ac65..37f412205e 100644 --- a/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js +++ b/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js @@ -8,13 +8,13 @@ filterTests(["all"], () => { before(() => { cy.login() cy.deleteApp(templateName) - cy.visit(`${Cypress.config().baseUrl}/builder`, { + // Template navigation + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`, { onBeforeLoad(win) { cy.stub(win, 'open') } }) cy.wait(2000) - cy.templateNavigation() }) it("should create and publish app with IT Ticketing System template", () => { diff --git a/packages/builder/cypress/integration/templates/adminPanels/adminPanelsTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/adminPanels/adminPanelsTemplateDetails.spec.js index 8c76a01126..2fa57b2c89 100644 --- a/packages/builder/cypress/integration/templates/adminPanels/adminPanelsTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/adminPanels/adminPanelsTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Admin Panels Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/approvalApps/approvalAppsTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/approvalApps/approvalAppsTemplateDetails.spec.js index 8fa0d61390..322a17f6c2 100644 --- a/packages/builder/cypress/integration/templates/approvalApps/approvalAppsTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/approvalApps/approvalAppsTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Approval Apps Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/businessApps/businessAppsTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/businessApps/businessAppsTemplateDetails.spec.js index 643c854168..734fb9a968 100644 --- a/packages/builder/cypress/integration/templates/businessApps/businessAppsTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/businessApps/businessAppsTemplateDetails.spec.js @@ -7,14 +7,8 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) - + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) + // Filter Business Apps Templates cy.get(".template-category-filters").within(() => { cy.get('[data-cy="Business Apps"]').click() diff --git a/packages/builder/cypress/integration/templates/directories/directoriesTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/directories/directoriesTemplateDetails.spec.js index d763dab9e7..dc874fcbaf 100644 --- a/packages/builder/cypress/integration/templates/directories/directoriesTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/directories/directoriesTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Directories Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/forms/formsTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/forms/formsTemplateDetails.spec.js index a8cb30da85..3206a71f6e 100644 --- a/packages/builder/cypress/integration/templates/forms/formsTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/forms/formsTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Forms Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/healthcare/healthcareTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/healthcare/healthcareTemplateDetails.spec.js index 02b8c7694e..b46bb46274 100644 --- a/packages/builder/cypress/integration/templates/healthcare/healthcareTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/healthcare/healthcareTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Healthcare Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/legal/legalTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/legal/legalTemplateDetails.spec.js index 16715bb5d6..57485aee40 100644 --- a/packages/builder/cypress/integration/templates/legal/legalTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/legal/legalTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Legal Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/logistics/logisticsTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/logistics/logisticsTemplateDetails.spec.js index a56cc80a67..e5d5745e4e 100644 --- a/packages/builder/cypress/integration/templates/logistics/logisticsTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/logistics/logisticsTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Logistics Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/manufacturing/manufacturingTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/manufacturing/manufacturingTemplateDetails.spec.js index b2809d78ee..30019c87fd 100644 --- a/packages/builder/cypress/integration/templates/manufacturing/manufacturingTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/manufacturing/manufacturingTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Manufacturing Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/marketing/marketingTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/marketing/marketingTemplateDetails.spec.js index 2c8840f321..66875e6939 100644 --- a/packages/builder/cypress/integration/templates/marketing/marketingTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/marketing/marketingTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Marketing Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/operations/operationsTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/operations/operationsTemplateDetails.spec.js index 2665de9e81..1a2ee1703a 100644 --- a/packages/builder/cypress/integration/templates/operations/operationsTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/operations/operationsTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Operations Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/integration/templates/portals/portalsTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/portals/portalsTemplateDetails.spec.js index 5e26948180..e81e12318d 100644 --- a/packages/builder/cypress/integration/templates/portals/portalsTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/portals/portalsTemplateDetails.spec.js @@ -7,21 +7,15 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) + + // Filter Portal Templates + cy.get(".template-category-filters").within(() => { + cy.get('[data-cy="Portal"]').click() + }) }) it("should verify the details option for Portal templates", () => { - // Filter Portal Templates - cy.get(".template-category-filters").within(() => { - cy.get('[data-cy="Portal"]').click() - }) - cy.get(".template-grid").find(".template-card").its('length') .then(len => { for (let i = 0; i < len; i++) { diff --git a/packages/builder/cypress/integration/templates/professionalServices/professionalServicesTemplateDetails.spec.js b/packages/builder/cypress/integration/templates/professionalServices/professionalServicesTemplateDetails.spec.js index e8ed18a19c..1267d8bd5c 100644 --- a/packages/builder/cypress/integration/templates/professionalServices/professionalServicesTemplateDetails.spec.js +++ b/packages/builder/cypress/integration/templates/professionalServices/professionalServicesTemplateDetails.spec.js @@ -7,13 +7,7 @@ filterTests(["all"], () => { cy.login() // Template navigation - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({force: true}) - } - }) + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`) // Filter Professional Services Templates cy.get(".template-category-filters").within(() => { diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index 6655219cd7..4295860dc1 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -671,15 +671,3 @@ Cypress.Commands.add("createRestQuery", (method, restUrl, queryPrettyName) => { .should("contain", method) .and("contain", queryPrettyName) }) - -Cypress.Commands.add("templateNavigation", () => { - // Navigates to templates section - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - // Templates button needs clicked if apps already exist - if (val.length > 0) { - cy.get(".spectrum-Button").contains("Templates").click({ force: true }) - } - }) -}) From 333279f66c26128cb93d0bfb0bb1818a054c8428 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Thu, 19 May 2022 15:51:42 +0100 Subject: [PATCH 2/4] Lead Generation Form Template Test + Refactor New Lead Generation Form template test - Verifies app creation - Successful Publish - Published app opens when button clicked Refactor of template functionality specific tests - Created a command to publish app and either click view or done button afterwards - Refactored into some template tests --- .../HR/jobApplicationTracker.spec.js | 15 ++----- .../templates/IT/ITTicketingSystem.spec.js | 15 ++----- .../marketing/leadGenerationForm.spec.js | 44 +++++++++++++++++++ packages/builder/cypress/support/commands.js | 15 +++++++ 4 files changed, 65 insertions(+), 24 deletions(-) create mode 100644 packages/builder/cypress/integration/templates/marketing/leadGenerationForm.spec.js diff --git a/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js b/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js index 3bfbd43738..045a85d8f6 100644 --- a/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js +++ b/packages/builder/cypress/integration/templates/HR/jobApplicationTracker.spec.js @@ -35,19 +35,10 @@ filterTests(["all"], () => { cy.get(".spectrum-Button").contains("Create app").click({ force: true }) }) - // Publish App + // Publish App & Verify it opened cy.wait(2000) // Wait for app to generate - cy.get(".toprightnav").contains("Publish").click({ force: true }) - cy.get(".spectrum-Dialog-grid").within(() => { - cy.get(".spectrum-Button").contains("Publish").click({ force: true }) - }) - - // Verify Published app - cy.wait(2000) // Wait for App to publish and modal to appear - cy.get(".spectrum-Dialog-grid").within(() => { - cy.get(".spectrum-Button").contains("View App").click({ force: true }) - cy.window().its('open').should('be.calledOnce') - }) + cy.publishApp(true) + cy.window().its('open').should('be.calledOnce') }) it("should add active/inactive vacancies", () => { diff --git a/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js b/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js index 37f412205e..15628ab131 100644 --- a/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js +++ b/packages/builder/cypress/integration/templates/IT/ITTicketingSystem.spec.js @@ -35,19 +35,10 @@ filterTests(["all"], () => { cy.get(".spectrum-Button").contains("Create app").click({ force: true }) }) - // Publish App + // Publish App & Verify it opened cy.wait(2000) // Wait for app to generate - cy.get(".toprightnav").contains("Publish").click({ force: true }) - cy.get(".spectrum-Dialog-grid").within(() => { - cy.get(".spectrum-Button").contains("Publish").click({ force: true }) - }) - - // Verify Published app - cy.wait(2000) // Wait for App to publish and modal to appear - cy.get(".spectrum-Dialog-grid").within(() => { - cy.get(".spectrum-Button").contains("View App").click({ force: true }) - cy.window().its('open').should('be.calledOnce') - }) + cy.publishApp(true) + cy.window().its('open').should('be.calledOnce') }) xit("should filter tickets by status", () => { diff --git a/packages/builder/cypress/integration/templates/marketing/leadGenerationForm.spec.js b/packages/builder/cypress/integration/templates/marketing/leadGenerationForm.spec.js new file mode 100644 index 0000000000..9f08b36d56 --- /dev/null +++ b/packages/builder/cypress/integration/templates/marketing/leadGenerationForm.spec.js @@ -0,0 +1,44 @@ +import filterTests from "../../../support/filterTests" + +filterTests(["all"], () => { + context("Lead Generation Form Template Functionality", () => { + const templateName = "Lead Generation Form" + const templateNameParsed = templateName.toLowerCase().replace(/\s+/g, '-') + + before(() => { + cy.login() + cy.deleteApp(templateName) + // Template navigation + cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/templates`, { + onBeforeLoad(win) { + cy.stub(win, 'open') + } + }) + cy.wait(2000) + }) + + it("should create and publish app with Lead Generation Form template", () => { + // Select Lead Generation Form template + cy.get(".template-thumbnail-text") + .contains(templateName).parentsUntil(".template-grid").within(() => { + cy.get(".spectrum-Button").contains("Use template").click({ force: true }) + }) + + // Confirm URL matches template name + const appUrl = cy.get(".app-server") + appUrl.invoke('text').then(appUrlText => { + expect(appUrlText).to.equal(`${Cypress.config().baseUrl}/app/` + templateNameParsed) + }) + + // Create App + cy.get(".spectrum-Dialog-grid").within(() => { + cy.get(".spectrum-Button").contains("Create app").click({ force: true }) + }) + + // Publish App & Verify it opened + cy.wait(2000) // Wait for app to generate + cy.publishApp(true) + cy.window().its('open').should('be.calledOnce') + }) + }) +}) diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index 4295860dc1..89284279d1 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -222,6 +222,21 @@ Cypress.Commands.add("createTestTableWithData", () => { cy.addColumn("dog", "age", "Number") }) +Cypress.Commands.add("publishApp", (viewApp = false) => { + cy.get(".toprightnav").contains("Publish").click({ force: true }) + cy.get(".spectrum-Dialog-grid").within(() => { + cy.get(".spectrum-Button").contains("Publish").click({ force: true }) + }) + cy.wait(2000) // Wait for App to publish and modal to appear + cy.get(".spectrum-Dialog-grid").within(() => { + if (viewApp) { + cy.get(".spectrum-Button").contains("View App").click({ force: true }) + } else { + cy.get(".spectrum-Button").contains("Done").click({ force: true }) + } + }) +}) + Cypress.Commands.add("createTable", (tableName, initialTable) => { if (!initialTable) { cy.navigateToDataSection() From 1440ab18f3f27545f9edbefdcb919a6dad4ed18c Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Thu, 19 May 2022 17:53:31 +0100 Subject: [PATCH 3/4] Increasing wait for closeModal command changing to 1 second to assist with CI runs --- packages/builder/cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index 89284279d1..26fd989c70 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -35,7 +35,7 @@ Cypress.Commands.add("login", () => { Cypress.Commands.add("closeModal", () => { cy.get(".spectrum-Modal").within(() => { cy.get(".close-icon").click() - cy.wait(500) + cy.wait(1000) // Wait for modal to close }) }) From 2f1f42a84df41329a370d986128aa04e3be56723 Mon Sep 17 00:00:00 2001 From: Budibase Release Bot <> Date: Tue, 24 May 2022 09:22:31 +0000 Subject: [PATCH 4/4] v1.0.177 --- lerna.json | 2 +- packages/backend-core/package.json | 2 +- packages/bbui/package.json | 4 ++-- packages/builder/package.json | 10 +++++----- packages/cli/package.json | 2 +- packages/client/package.json | 8 ++++---- packages/frontend-core/package.json | 4 ++-- packages/server/package.json | 8 ++++---- packages/string-templates/package.json | 2 +- packages/worker/package.json | 6 +++--- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lerna.json b/lerna.json index f5a19f0a57..9895ab6cb0 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "1.0.176", + "version": "1.0.177", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index 2f88937c04..d0fe4d1aae 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/backend-core", - "version": "1.0.176", + "version": "1.0.177", "description": "Budibase backend core libraries used in server and worker", "main": "src/index.js", "author": "Budibase", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index f11c5e8055..dfc05ed652 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/bbui", "description": "A UI solution used in the different Budibase projects.", - "version": "1.0.176", + "version": "1.0.177", "license": "MPL-2.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", @@ -38,7 +38,7 @@ ], "dependencies": { "@adobe/spectrum-css-workflow-icons": "^1.2.1", - "@budibase/string-templates": "^1.0.176", + "@budibase/string-templates": "^1.0.177", "@spectrum-css/actionbutton": "^1.0.1", "@spectrum-css/actiongroup": "^1.0.1", "@spectrum-css/avatar": "^3.0.2", diff --git a/packages/builder/package.json b/packages/builder/package.json index af910f734c..c06ca2bb3b 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "1.0.176", + "version": "1.0.177", "license": "GPL-3.0", "private": true, "scripts": { @@ -67,10 +67,10 @@ } }, "dependencies": { - "@budibase/bbui": "^1.0.176", - "@budibase/client": "^1.0.176", - "@budibase/frontend-core": "^1.0.176", - "@budibase/string-templates": "^1.0.176", + "@budibase/bbui": "^1.0.177", + "@budibase/client": "^1.0.177", + "@budibase/frontend-core": "^1.0.177", + "@budibase/string-templates": "^1.0.177", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/cli/package.json b/packages/cli/package.json index f42fb81c25..0f491d8c03 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "1.0.176", + "version": "1.0.177", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { diff --git a/packages/client/package.json b/packages/client/package.json index ceaf1abe4d..b82017b7c5 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "1.0.176", + "version": "1.0.177", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -19,9 +19,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^1.0.176", - "@budibase/frontend-core": "^1.0.176", - "@budibase/string-templates": "^1.0.176", + "@budibase/bbui": "^1.0.177", + "@budibase/frontend-core": "^1.0.177", + "@budibase/string-templates": "^1.0.177", "@spectrum-css/button": "^3.0.3", "@spectrum-css/card": "^3.0.3", "@spectrum-css/divider": "^1.0.3", diff --git a/packages/frontend-core/package.json b/packages/frontend-core/package.json index 9778438a25..d381e250c4 100644 --- a/packages/frontend-core/package.json +++ b/packages/frontend-core/package.json @@ -1,12 +1,12 @@ { "name": "@budibase/frontend-core", - "version": "1.0.176", + "version": "1.0.177", "description": "Budibase frontend core libraries used in builder and client", "author": "Budibase", "license": "MPL-2.0", "svelte": "src/index.js", "dependencies": { - "@budibase/bbui": "^1.0.176", + "@budibase/bbui": "^1.0.177", "lodash": "^4.17.21", "svelte": "^3.46.2" } diff --git a/packages/server/package.json b/packages/server/package.json index e61c9039fc..6c17d89d25 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "1.0.176", + "version": "1.0.177", "description": "Budibase Web Server", "main": "src/index.ts", "repository": { @@ -70,10 +70,10 @@ "license": "GPL-3.0", "dependencies": { "@apidevtools/swagger-parser": "^10.0.3", - "@budibase/backend-core": "^1.0.175", - "@budibase/client": "^1.0.176", + "@budibase/backend-core": "^1.0.177", + "@budibase/client": "^1.0.177", "@budibase/pro": "^1.0.175", - "@budibase/string-templates": "^1.0.176", + "@budibase/string-templates": "^1.0.177", "@bull-board/api": "^3.7.0", "@bull-board/koa": "^3.7.0", "@elastic/elasticsearch": "7.10.0", diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json index c0ff29331d..dda26e9591 100644 --- a/packages/string-templates/package.json +++ b/packages/string-templates/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/string-templates", - "version": "1.0.176", + "version": "1.0.177", "description": "Handlebars wrapper for Budibase templating.", "main": "src/index.cjs", "module": "dist/bundle.mjs", diff --git a/packages/worker/package.json b/packages/worker/package.json index 38a6fb304c..d46def69de 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/worker", "email": "hi@budibase.com", - "version": "1.0.176", + "version": "1.0.177", "description": "Budibase background service", "main": "src/index.ts", "repository": { @@ -32,9 +32,9 @@ "author": "Budibase", "license": "GPL-3.0", "dependencies": { - "@budibase/backend-core": "^1.0.175", + "@budibase/backend-core": "^1.0.177", "@budibase/pro": "^1.0.175", - "@budibase/string-templates": "^1.0.176", + "@budibase/string-templates": "^1.0.177", "@koa/router": "^8.0.0", "@sentry/node": "6.17.7", "@techpass/passport-openidconnect": "^0.3.0",