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

18 lines
426 B
JavaScript
Raw Normal View History

2020-06-09 13:52:19 +02:00
context('Create Application', () => {
beforeEach(() => {
cy.visit('localhost:4001/_builder')
})
// https://on.cypress.io/interacting-with-elements
it('should create a new application', () => {
// https://on.cypress.io/type
cy.createApp('My Cool App', 'This is a description')
2020-06-09 13:52:19 +02:00
cy.visit('localhost:4001/_builder')
cy.contains('My Cool App').should('exist')
2020-06-09 13:52:19 +02:00
})
})