forked from hotwired/turbo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Playwright assertions for autofocus
Closes [hotwired#1154][] Replace bespoke CSS selector-based assertions with Playwright's built-in [toBeFocused](https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-be-focused) assertion. Like other assertions, `toBeFocused` will wait and retry for a period of time, which makes `nextBeat` calls unnecessary. [hotwired#1154]: hotwired#1154
- Loading branch information
1 parent
00527e5
commit 239de0b
Showing
1 changed file
with
12 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters