An open API service indexing awesome lists of open source software.

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.

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).