/Test-Task

BBC Test Task

Primary LanguageTypeScript

BBC Automation Task

Getting Started

Run npm install

  • This will run all npm packages.
  • On your terminal open Cypress with the following 'npx cypress open'

Running tests

Once you've successfully opened Cypress navigate to the tests on the GUI to run tests.

To run tests in headless mode navigate to the cypress folder and run the following command 'npx cypress run cypress/e2e/homePage.cy.ts'.

At any time you want to exit, run ctrl c.