Skipping createApp Tests & createAutomation Test Fix

Skipping createApp tests covered via API Automation.
Also updated the createAutomation test to fix an issue with the nightly build
This commit is contained in:
Mitch-Budibase 2022-11-16 11:29:59 +00:00
parent 5692fca1e5
commit 0a5839a82b
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ filterTests(['smoke', 'all'], () => {
}) })
if (!(Cypress.env("TEST_ENV"))) { if (!(Cypress.env("TEST_ENV"))) {
it("should show the new user UI/UX", () => { it.skip("should show the new user UI/UX", () => {
cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/create`, { timeout: 5000 }) //added /portal/apps/create cy.visit(`${Cypress.config().baseUrl}/builder/portal/apps/create`, { timeout: 5000 }) //added /portal/apps/create
cy.wait(1000) cy.wait(1000)
cy.get(interact.CREATE_APP_BUTTON, { timeout: 10000 }).contains('Start from scratch').should("exist") cy.get(interact.CREATE_APP_BUTTON, { timeout: 10000 }).contains('Start from scratch').should("exist")
@ -83,7 +83,7 @@ filterTests(['smoke', 'all'], () => {
}) })
}) })
it("should create the first application from scratch", () => { it.skip("should create the first application from scratch", () => {
const appName = "Cypress Tests" const appName = "Cypress Tests"
cy.createApp(appName, false) cy.createApp(appName, false)
@ -93,7 +93,7 @@ filterTests(['smoke', 'all'], () => {
cy.deleteApp(appName) cy.deleteApp(appName)
}) })
it("should create the first application from scratch with a default name", () => { it.skip("should create the first application from scratch with a default name", () => {
cy.updateUserInformation("", "") cy.updateUserInformation("", "")
cy.createApp("", false) cy.createApp("", false)
cy.applicationInAppTable("My app") cy.applicationInAppTable("My app")

View File

@ -24,7 +24,7 @@ filterTests(['smoke', 'all'], () => {
cy.wait(500) cy.wait(500)
cy.contains("dog").click() cy.contains("dog").click()
// Create action // Create action
cy.get('[aria-label="AddCircle"]', { timeout: 2000 }).eq(1).click() cy.get('[aria-label="AddCircle"]', { timeout: 2000 }).click()
cy.get(interact.MODAL_INNER_WRAPPER).within(() => { cy.get(interact.MODAL_INNER_WRAPPER).within(() => {
cy.wait(1000) cy.wait(1000)
cy.contains("Create Row").trigger('mouseover').click().click() cy.contains("Create Row").trigger('mouseover').click().click()