mirror of https://github.com/statping/statping
cypress tests
parent
6b80d7608e
commit
ee2cced81c
|
@ -10,8 +10,8 @@
|
|||
},
|
||||
"baseUrl": "http://localhost:8888",
|
||||
"chromeWebSecurity": false,
|
||||
"defaultCommandTimeout": 15000,
|
||||
"requestTimeout": 15000,
|
||||
"defaultCommandTimeout": 30000,
|
||||
"requestTimeout": 30000,
|
||||
"watchForFileChanges": false,
|
||||
"failOnStatusCode": false
|
||||
}
|
||||
|
|
|
@ -25,4 +25,11 @@ context('Setup Process', () => {
|
|||
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')
|
||||
})
|
||||
})
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue