Updating tests

This commit is contained in:
Liyas Thomas 2019-12-04 21:41:58 +05:30
parent d99170f0d9
commit a719dff1f7
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
describe('Visit home', () => {
it('Have a page title with "Postwoman"', () => {
cy.visit('/')
.get('title')
.should('contain','Postwoman')
})
})

View File

@ -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)
})
})
})