How to fill()
the <jp-search>
element in tests? #16720
Open
Description
Description
Since #16046 the jupyter ui toolkit elements are used for search fields. However, these are not editable and I cannot make use .fill()
on them.
Reproduce
- waiting for locator('.jp-Shortcuts-ShortcutUI').locator('jp-search.jp-FilterBox')
- locator resolved to <jp-search value="" current-value="" class="jp-FilterBox" appearance="outline" placeholder="Search…">…</jp-search>
- fill("merge cell below")
- attempting fill action
- waiting for element to be visible, enabled and editable
Expected behavior
.fill()
works as if it was input? Or we have a documentation that it can be done with
await filterInput.click();
await filterInput.pressSequentially('text to fill in but it is slow!');
Context
- JupyterLab version: 4.3.0