Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wlsf82/cy-data-test
Sample project to demonstrate a cy.dataTest Cypress custom command.
https://github.com/wlsf82/cy-data-test
cy-data-test cypress modern-web-testing pinches-of-cypress pitadas-de-cypress talking-about-testing
Last synced: 24 days ago
JSON representation
Sample project to demonstrate a cy.dataTest Cypress custom command.
- Host: GitHub
- URL: https://github.com/wlsf82/cy-data-test
- Owner: wlsf82
- License: mit
- Created: 2022-01-06T19:26:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-19T16:11:55.000Z (over 1 year ago)
- Last Synced: 2024-04-14T06:29:02.718Z (9 months ago)
- Topics: cy-data-test, cypress, modern-web-testing, pinches-of-cypress, pitadas-de-cypress, talking-about-testing
- Language: HTML
- Homepage: https://talkingabouttesting.com/2022/01/06/a-importancia-da-testabilidade-para-testes-automatizados-web/
- Size: 59.6 KB
- Stars: 42
- Watchers: 2
- Forks: 372
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cy-data-test
[![main](https://github.com/wlsf82/cy-data-test/actions/workflows/ci.yml/badge.svg)](https://github.com/wlsf82/cy-data-test/actions)
Sample project to demonstrate a `cy.dataTest` Cypress custom command.
## Pre-requirements
It is required to have Node.js and npm installed to run this project.
> I used versions `v18.15.0` and `9.5.0` 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` file as `cypress.env.json`, which in the real world, you would update with valid credentials.
>
> 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).