docs(Cypress-Gherkin): 📝 Updated readme.md to reference pure-cypress in the other branch.
This commit is contained in:
parent
21167e4b3c
commit
61f0a88163
@ -1,6 +1,6 @@
|
||||
# Lifen Autotest Hangout with Simon Priet
|
||||
|
||||
Please find in this project my hangout of your technical test. The test is performed with `cypress`, and include `cypress-cucumber-preprocessor`. This module process `.feature` files and find matching `.js` files to run them by cypress runner. I initially coded cypress to do the part 2 only, but took time to include the part one as well. Now cypress run the api to generate the communication with the document, then connect the user to send the mail.
|
||||
Please find in this project my hangout of your technical test. The test is performed with `cypress`, and include `cypress-cucumber-preprocessor`. This module process `.feature` files (they carry the test case in Gherkin syntax) and find matching `.js` files to run them by cypress runner. I initially coded cypress to do the part 2 only, but took time to include the part one as well. Now cypress run the api to generate the communication with the document, then connect the user to send the mail.
|
||||
|
||||
Currently, cypress is still challenged with a SMS code, and I have not implemented a workaround. Cypress wait 20 for me to put the code in the GUI, then continue. Please feel free to reconfigure your environment with your own phone number to try out. **However**, this automate can't be industrialized into a CI/CD pipeline.
|
||||
|
||||
@ -9,6 +9,8 @@ I fond 2 tools that can help us more:
|
||||
* [`cypress-recurse` 🌐](https://github.com/bahmutov/cypress-recurse) can retry several time a request until a certain condition is meet. This can help us wait for Irène to process the CommunicationRequest (`draft` → `suspended`), before going any further.
|
||||
* [`cypress-mailosaur` 🌐](https://mailosaur.com/docs/frameworks-and-tools/cypress/) is a mail and text provided that can help us read texts content sent by the server to a predefined phone number, and work around the text code challenge.
|
||||
|
||||
Please note the existance of a pure cypress branch that doen't rely on BDD.
|
||||
|
||||
# Installation
|
||||
|
||||
The code has been written with VSC in mind, on a Windows 10 machine, so a launch.json is available to help run and debug the softwares. No helpers are available for other IDE.
|
||||
|
Loading…
x
Reference in New Issue
Block a user