From 61f0a881630f35cacdc3a013886b163bf065f09a Mon Sep 17 00:00:00 2001 From: Simon Priet Date: Wed, 8 Sep 2021 12:59:49 +0200 Subject: [PATCH] docs(Cypress-Gherkin): :memo: Updated readme.md to reference pure-cypress in the other branch. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7224b90f..2d09df1b 100644 --- a/README.md +++ b/README.md @@ -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.