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