diff --git a/tests/e2e/integration/app.starter.spec.js b/tests/e2e/integration/app.starter.spec.js new file mode 100644 index 000000000..7e1945ec6 --- /dev/null +++ b/tests/e2e/integration/app.starter.spec.js @@ -0,0 +1,7 @@ +describe('Visit home', () => { + it('Have a page title with "Postwoman"', () => { + cy.visit('/') + .get('title') + .should('contain','Postwoman') + }) +}) diff --git a/tests/e2e/integration/feature.url-queries.spec.js b/tests/e2e/integration/feature.url-queries.spec.js index d78350db5..56bf20651 100644 --- a/tests/e2e/integration/feature.url-queries.spec.js +++ b/tests/e2e/integration/feature.url-queries.spec.js @@ -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) }) }) })