Skip to content

Sample project to demonstrate how to select a random option from a select field with a disabled options.

License

Notifications You must be signed in to change notification settings

wlsf82/random-select-with-disabled-option

Repository files navigation

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.

randomSelectWithDisabledOption.cy.js.mp4

Support this project

If you want to support this project, leave a ⭐.


Created with 💜 by Walmyr.

About

Sample project to demonstrate how to select a random option from a select field with a disabled options.

Topics

Resources

License

Stars

Watchers

Forks