-
Notifications
You must be signed in to change notification settings - Fork 14
Description
The "issue" comes from playwright/test framework. If a normal user opens the custom-select everything would be fine. But playwright fires every command as fast as possible. In the new playwright version something has changed (I guess it is even faster). In this case it is to fast for the JS which will move the focus on the first checkbox. Without a focus we cannot select all checkboxes and the test fails.
With the timeout we have enough time to load the checkboxes to focus them in the next step.
Originally posted by @nmerget in #5698 (comment)
If we would switch from a details/summary HTML implementation to e.g. [popover], we could use the autofocus-HTML-attribute on the first checkbox element and declare the autofocus programmatically.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status