From 9dbc67da567eddf2bfcc823a929a9e3b23a58255 Mon Sep 17 00:00:00 2001 From: Ben Surgison Date: Tue, 7 Jun 2022 15:01:24 +0100 Subject: [PATCH] Test loading the docs template start page --- .../0-smoke-tests/docs-templates-start-page.cypress.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cypress/integration/0-smoke-tests/docs-templates-start-page.cypress.js diff --git a/cypress/integration/0-smoke-tests/docs-templates-start-page.cypress.js b/cypress/integration/0-smoke-tests/docs-templates-start-page.cypress.js new file mode 100644 index 0000000000..617ae8eac1 --- /dev/null +++ b/cypress/integration/0-smoke-tests/docs-templates-start-page.cypress.js @@ -0,0 +1,5 @@ +specify('index page', () => { + cy.visit('/docs/templates/start') + cy.get('a.govuk-button--start') + .should('contains.text', 'Start now') +})