cypress tests

pull/490/head
hunterlong 2020-04-11 16:12:19 -07:00
parent 6b80d7608e
commit ee2cced81c
2 changed files with 9 additions and 2 deletions

View File

@ -10,8 +10,8 @@
}, },
"baseUrl": "http://localhost:8888", "baseUrl": "http://localhost:8888",
"chromeWebSecurity": false, "chromeWebSecurity": false,
"defaultCommandTimeout": 15000, "defaultCommandTimeout": 30000,
"requestTimeout": 15000, "requestTimeout": 30000,
"watchForFileChanges": false, "watchForFileChanges": false,
"failOnStatusCode": false "failOnStatusCode": false
} }

View File

@ -25,4 +25,11 @@ context('Setup Process', () => {
cy.get('.group_header').should('have.length', 2) cy.get('.group_header').should('have.length', 2)
}) })
it('should be completely setup', () => {
cy.request(`/api`).then((response) => {
expect(response.body).to.have.property('setup', true)
expect(response.body).to.have.property('domain', 'http://localhost:8888')
})
})
}) })