Select box variants practice
Five custom-built combobox variants — single, multi, creatable, grouped, and async.
DOM classes intentionally mirror the popular react-select conventions
(tta-rs__control, tta-rs__menu, tta-rs__option) so
your locators transfer to real production widgets.
① Single — searchable
Type to filterClick to open. Type to filter the list. Click an option to set a single value.
② Multi — chips with remove
Multiple valuesPick multiple options. Each becomes a removable chip with its own X button.
③ Creatable multi — type and Enter
Add new optionsType a tag that doesn't exist, press Enter, and a new chip is created on the fly.
④ Grouped — categorised options
GroupsOptions are split into labelled groups. Practise reaching an option inside a specific group heading.
⑤ Async — fetched on type
600ms latencyType a city name. Results load after a simulated 600ms network call. Practise page.waitForResponse patterns or just await a visible option.