Test assignment for the interview.
How to run the tests:
-
Open a terminal or command prompt and navigate to your project directory.
-
Open the Cypress Test Runner: 'npx cypress open'. This will launch the Cypress Test Runner, you'll need to click on a test file to run its tests.
2.a. To run all the tests in the project headlessly: 'npx cypress run'.
2.b. To run a specific test file: 'npx cypress run --spec "cypress/e2e/contactForm-spec.js