✅ Updating tests
This commit is contained in:
parent
d99170f0d9
commit
a719dff1f7
2 changed files with 8 additions and 1 deletions
7
tests/e2e/integration/app.starter.spec.js
Normal file
7
tests/e2e/integration/app.starter.spec.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
describe('Visit home', () => {
|
||||
it('Have a page title with "Postwoman"', () => {
|
||||
cy.visit('/')
|
||||
.get('title')
|
||||
.should('contain','Postwoman')
|
||||
})
|
||||
})
|
||||
|
|
@ -3,7 +3,7 @@ describe('Methods', () => {
|
|||
methods.forEach((method) => {
|
||||
it(`Change the default method GET to ${method} with url query`, () => {
|
||||
cy.visit(`/?method=${method}`)
|
||||
.get('#method').contains(method)
|
||||
.get('#method').should('have.value', method)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue