- A front end testing tool built for the modern web
- A strongly typed programming language that builds on JavaScript, giving better tooling at any scale
- A tool that supports Behaviour-Driven Development(BDD)
- POM (Page Object Model) a design pattern, popularly used in test automation that creates Object Repository for web UI elements
- A custom reporter for use with the Javascript testing framework
- DDT (Data Driven Testing) a software testing method in which test data is stored in table or spreadsheet format
- Package manager for code
- CI/CD frequently deliver apps to customers by introducing automation into the stages of app development
Foncia Cypress Test uses a number of open source projects to work properly:
- Cypress - JavaScript End to End Testing Framework
- Typescript - TypeScript is JavaScript with syntax for types
- Mochawesome - Custom reporter for use with Javascript
- Cypress-xpath - Adds XPath command to Cypress.io test runner
- Cypress-Cucumber-Preprocessor - Provide developers experience and behavior similar to that of Cucumber, to Cypress
- Webpack-Preprocessor - Cypress preprocessor for bundling JavaScript via webpack
- YARN - A package manager for code
- papaparse - The powerful, in-browser CSV parser for big boys and girls
Foncia Cypress Test requires Node.js v16.10+ to run.
Enable YARN to start using the package manager
corepack enableInstall the dependencies and devDependencies.
cd FONCIA-CYPRESS-TEST
yarn installTo run the test on production :
yarn test --env ENV='production'To merge mochawesome reports
yarn merge-reportsTo generate an HTML report
yarn generate-htmlreportTo convert CSV file to JSON file
yarn convertCSVtoJSONDocker must be installed on the targetted machine to be able to build an image
Create an image of the Cypress project
cd FONCIA-CYPRESS-TEST
docker build -t my-cypress-image:1.0.0 .To run the test on production :
docker run -i -v $PWD:/my-cypress-project -t my-cypress-image:1.0.0 --spec cypress/e2e/*.feature --env ENV='production'The Foncia Cypress Test provides a Jenkinsfile that will help setup up a Jenkins Pipeline with the least effort possible.
- Create a new Pipeline on Jenkins
- Go to 'Advanced Project Options'
- Specify 'Pipeline Script from SCM', 'Git', Repository URL, Credentials, Branch
- Set 'Script Path' to 'Jenkinsfile'
AnsiColor
HTML Publisher Plugin
NodeJS PluginTo access Cypress Dashboard please click on me to see the details
MIT
Free Software, Hell Yeah!
