-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
good first issueGood for newcomersGood for newcomerspkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: enhancementRequested enhancement of existing featureRequested enhancement of existing feature
Description
This Stack Overflow question points out that cy.select() can't clear a selection, and apparently, neither can commands like cy.clear(): https://stackoverflow.com/questions/56340978/how-do-i-clear-a-select-input-using-cypress
Things that should work, but don't:
cy.select([])should cause no elements to be selectedcy.clear()with a<select>subject should cause no elements to be selected
Also, maybe cy.select() or cy.select(undefined) should also clear the selection.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerspkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: enhancementRequested enhancement of existing featureRequested enhancement of existing feature