Have a machine with Node.js installed or Install Node.js locally Can be runned on CI using a docker machine with Node.js
1 - Download from code repo https://github.com/jcsmor/demoFF.git
2 - Enter code directory and run: npm install
3 - Run tests with: npx cypress run --spec cypress\integration\examples\BDD\careerqa.feature --headed --browser chrome
From command line inside project folder:
4 - Alternative - Run the command: npx cypress open This will open the Cypress Test Runner window, allowing you to execute your tests from a Cypress dashboard.
cypress\integration\examples\BDD\careerqa.feature
demoFF\cypress\integration\examples\BDD\testPlanCareer.feature
Using Gherkin to demonstrate the level of detail and ways of writting test cases, this is just a demo that exemplifies a possible test plan on the careers section and is not automated, only testPlanCareer.feature is automated.
Cypress automation has become increasingly popular in the QA industry due to its unique features and capabilities. Cypress offers a powerful and intuitive testing framework that allows QA engineers to write automated tests quickly and efficiently. It offers a modern approach to testing web applications that integrates seamlessly with modern front-end frameworks such as React, Angular, and Vue. Its test runner offers a visual representation of the test runs, which makes it easy for testers to identify and troubleshoot issues. Cypress also provides built-in debugging tools, which makes it easier to diagnose and fix issues quickly.