Giter Site home page Giter Site logo

philsherry / govuk-cypress Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9.5 MB

A demonstration of how to use the Cypress framework to test GOV.UK & HMRC components and patterns.

License: MIT License

JavaScript 58.41% HTML 38.62% Nunjucks 0.69% Shell 0.05% SCSS 2.22% Procfile 0.01%
accessibility cypress govuk hmrc nunjucks

govuk-cypress's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

govuk-cypress's Issues

[TEST] HMRC / checkUnassociatedLabel

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--unassociated-label.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkAccountHeader

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--account-header.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkNestedFieldsets

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--nested-fieldsets.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkHintNotAssociated

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--hint-not-associated.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkHtml5ValidationPresent

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--html5-validation-present.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkUserConsent

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--ask-the-user-for-their-consent.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] GOV.UK / checkLinkContext

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/govuk--link-context.js
SPEC: cypress/integration/hmrc/add-to-a-list/desktop.spec.js
VIEW: app/views/hmrc/add-to-a-list/index.html

[TEST] GOV.UK / checkAriaLabelledby

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/govuk--aria-labelledby.js
SPEC: cypress/integration/govuk/error-summary/desktop.spec.js
VIEW: app/views/govuk/error-summary/index.html

[TEST] HMRC / checkErrorMessage

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--error-message.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkHmrcPageHeading

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--page-heading.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] GOV.UK / checkHeadings

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/govuk--check-headings.js
SPEC: cypress/integration/tests/govuk/check-headings/desktop.spec.js
VIEW: app/views/tests/govuk/check-headings/index.html

[TEST] HMRC / checkPageTitleError

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--error-page-title.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkInputMode

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--missing-inputmode.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] GOV.UK / checkGovukErrorMessage

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/govuk--error-message.js
SPEC: cypress/integration/govuk/error-message/desktop.spec.js
VIEW: app/views/govuk/error-message/index.html

[TEST] HMRC / checkMissingLabel

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--missing-label.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkMissingInstructions

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--missing-instructions.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkHmrcReferences

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--references.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkPageTitle

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--page-title.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkNewTarget

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--open-in-new-window-links.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkAutocompleteAttributes

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--missing-autocomplete.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkTypeAttribute

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--type-attribute-incorrect.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkNotificationBadge

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--notification-badge.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkHmrcTimeline

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--timeline.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkFormValidation

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--validation.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkSessionTimeoutExtends

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--timeout-dialog-cannot-extend-session.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkForMissingFieldsetOrLegend

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--missing-fieldset-or-legend.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkDefaultBrowserLinkStyle

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--default-browser-link-style.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkWelshTranslations

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--welsh-translations.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] GOV.UK / checkGovukErrorSummary

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/govuk--error-summary.js
SPEC: cypress/integration/govuk/error-summary/desktop.spec.js
VIEW: app/views/govuk/error-summary/index.html

[TEST] HMRC / checkServiceTimeout

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--timeout-dialog.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkHintErrorInLabel

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--hint-error-in-label.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkHtmlValidationWcag

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--html-validation-wcag.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / checkErrorSummaryLinks

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--error-summary-links.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] GOV.UK / checkFocusColours

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/govuk--focus-colours.js
SPEC: cypress/integration/hmrc/add-to-a-list/desktop.spec.js
VIEW: app/views/hmrc/add-to-a-list/index.html

[TEST] HMRC / checkTaxYears

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--check-tax-years.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] GOV.UK / checkAriaDescribedBy

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/govuk--aria-describedby.js
SPEC: cypress/integration/hmrc/add-to-a-list/desktop.spec.js
VIEW: app/views/hmrc/add-to-a-list/index.html

[TEST] DWP / checkDwpTimeline

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/dwp--timeline.js
SPEC: cypress/integration{/dept,/tests}/desktop.js
VIEW: app/views{/dept,/tests}/index.html

[TEST] HMRC / checkConditionallyRevealingContent

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--conditionally-revealing-content.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

[TEST] HMRC / hmrcCurrencyInput

  • Complete test file.
  • Complete spec file.
  • Complete view file.

Files and examples

TEST: cypress/support/govuk-cypress/hmrc--currency-input.js
SPEC: cypress/integration{/govuk,/hmrc,/tests}/desktop.js
VIEW: app/views{/govuk,/hmrc,/tests}/index.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.