https://github.com/wlsf82/random-select-with-disabled-option
Sample project to demonstrate how to select a random option from a select field with a disabled options.
https://github.com/wlsf82/random-select-with-disabled-option
cy-dot-hands-on cypress talking-about-testing
Last synced: 5 months ago
JSON representation
Sample project to demonstrate how to select a random option from a select field with a disabled options.
- Host: GitHub
- URL: https://github.com/wlsf82/random-select-with-disabled-option
- Owner: wlsf82
- License: mit
- Created: 2023-11-23T12:07:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T23:26:30.000Z (over 1 year ago)
- Last Synced: 2025-03-31T00:26:29.057Z (6 months ago)
- Topics: cy-dot-hands-on, cypress, talking-about-testing
- Language: HTML
- Homepage: https://youtu.be/zzKML3wlkSI?si=mucmwpQBWlUucBei
- Size: 55.7 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# random-select-with-disabled-option
Sample project to demonstrate how to select a random option from a select field with disabled options.
## Pre-requirements
It is required to have git, Node.js, and npm installed to clone and run this project.
> I used versions `2.42.1` `v18.15.0` and `9.5.0` of git, 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
To run the tests in headless mode, use the command `npm test` (or `npm t` for the short version.)
To open the _Cypress App_ to run tests in interactive mode, use the command `npm run cy:open`.
### Tests' demo
Below is a video demonstrating the tests running.
https://github.com/wlsf82/random-select-with-disabled-option/assets/2768415/ca5b2aff-5977-40d6-a8e9-b6d36f6f6cf7
## Support this project
If you want to support this project, leave a ⭐.
___
Created with 💜 by [Walmyr](https://walmyr.dev).