https://github.com/wlsf82/live-65-testes-de-api-com-cypress
https://youtu.be/C8tFAB0pGVs
https://github.com/wlsf82/live-65-testes-de-api-com-cypress
Last synced: 6 months ago
JSON representation
https://youtu.be/C8tFAB0pGVs
- Host: GitHub
- URL: https://github.com/wlsf82/live-65-testes-de-api-com-cypress
- Owner: wlsf82
- License: mit
- Created: 2022-04-24T21:40:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-08T21:12:44.000Z (over 3 years ago)
- Last Synced: 2025-04-23T08:14:20.659Z (6 months ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 11
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lives-tat-65-e-67-testes-de-api-com-cypress
Sample project to experiment with [Typeform's API](https://developer.typeform.com/).
## Pre-requirements
It is required to have Node.js and npm installed to run this project.
> I used versions `v16.13.2` and `8.3.2` of Node.js and npm, respectively. I suggest you use the same or later versions.
## Installation
Run `npm install` (or `npm i` for the short version) to install the dev dependencies.
## Tests
> **Note:** Before running the tests, make a copy of the [`cypress.env.example.json`](./cypress.env.example.json) file as `cypress.env.json`, and update the `TYPEFORM_ACCESS_TOKEN`, `username`, `password`, etc. accordingly.
>
> The `cypress.env.json` file is included on [`.gitignore`](./.gitignore) and you're safe that confidential info won't be versioned.Run `npm test` (or `npm t` for the short version) to run the test in headless mode.
Or, run `npm run cy:open` to open Cypress in interactive mode.
## Support this project
If you want to support this project, leave a ⭐.
___
This project was created with 💚 by [Walmyr](https://walmyr.dev).