You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The select method now accepts any valid dom-testing-library TextMatch objects (eg. string, regex, function, number) as the optionOrOptions parameter. (@lpproulx)
Removed the autoSelect option to the create function introduced in v4.2.0. (@fgs-dbudwin)
New Feature
Added a new waitForElement option to the create function, replacing autoSelect. This should be used in cases when creating a new option fails. (@fgs-dbudwin)
Note The breaking change won't affect users who didn't upgrade to v4.2.0 to use the autoSelect option. Since v4.2.0 had only been released for less than two days when v5.0.0 was published, that should hopefully be transparent for most people.
Added a config option to control whether a new option should be selected after creation (defaults to true, which is the current behavior)
This is useful in cases when the creation of the new option depends on services that may fail. (@fgs-dbudwin)