Skip to content

Commit

Permalink
Add docs for the project and custom commands
Browse files Browse the repository at this point in the history
  • Loading branch information
M4deN committed Sep 28, 2023
1 parent 88dc183 commit 78fcca3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
cypress.env.json
cypress/downloads/
cypress/screenshots/
cypress/videos/
node_modules/
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Run `npm test` (or `npm t` for short) to run all tests in headless mode using a

Run `npm run test:tablet` to run the appropriate tests in headless mode using a tablet viewport.



### Interactive mode

Run `npm run cy:open` to open the __Cypress App__ to run tests in interactive mode using a desktop viewport.
Expand All @@ -42,4 +44,18 @@ Run `npm run cy:open:tablet` to open the __Cypress App__ to run tests in interac

___

Made with ❤️ by [Alecio L. Medeiros](https://github.com/M4deN).
#### Example

Here's an example of running all the tests in interactive mode.

authenticated.cy.js

login.cy.js

signup.cy.js



___

Made with by [Alecio L. Medeiros](https://github.com/M4deN).
Binary file added cypress/videos/authenticated.cy.js.mp4
Binary file not shown.
Binary file added cypress/videos/login.cy.js.mp4
Binary file not shown.
Binary file added cypress/videos/signup.cy.js.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Testes-End-to-End-Cypress",
"version": "1.0.0",
"description": "TBD.",
"description": "Sample project to demonstrate e2e tests written with Cypress running on GitHub Actions",
"main": "cypress.config.js",
"scripts": {
"lint": "eslint cypress/**/*.js && eslint cypress.config.js",
Expand Down

0 comments on commit 78fcca3

Please sign in to comment.