budibase/packages/builder/cypress/integration/createApp.spec.js

13 lines
360 B
JavaScript
Raw Normal View History

context("Create an Application", () => {
beforeEach(() => {
cy.server()
cy.visit(`localhost:${Cypress.env("PORT")}/_builder`)
})
it("should create a new application", () => {
cy.createApp("My Cool App", "This is a description")
cy.visit(`localhost:${Cypress.env("PORT")}/_builder`)
cy.contains("My Cool App").should("exist")
})
2020-06-09 13:52:19 +02:00
})