https://github.com/wlsf82/cy-bracket-notation
Sample project to demonstrate how to call Cypress and custom commands using the JS bracket notion, instead of the dot notation.
https://github.com/wlsf82/cy-bracket-notation
Last synced: 6 months ago
JSON representation
Sample project to demonstrate how to call Cypress and custom commands using the JS bracket notion, instead of the dot notation.
- Host: GitHub
- URL: https://github.com/wlsf82/cy-bracket-notation
- Owner: wlsf82
- License: mit
- Created: 2022-11-13T03:48:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-14T21:23:22.000Z (almost 3 years ago)
- Last Synced: 2025-04-23T08:15:09.540Z (6 months ago)
- Language: JavaScript
- Homepage: https://youtu.be/DIbAyVobTD4
- Size: 41 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cy-bracket-notation

Sample project to demonstrate how to call Cypress and custom commands using the [JS bracket notion](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Property_Accessors#bracket_notation), instead of the [dot notation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Property_Accessors#dot_notation).
## Pre-requirements
It is required to have Node.js and npm installed to run this project.
> I used versions `v16.13.2` and `8.19.2` of Node.js and npm, respectively. I suggest you use the same or later LTS versions.
## Installation
Run `npm install` (or `npm i` for the short version) to install the dev dependencies.
## Tests
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 the Cypress App, and run the tests 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).