Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG - Use Playwright expect() for code block tab stop tests (#2160)
Maybe fixes #2158. This takes advantage of Playwright's ability to wait for a condition to be true rather than hard-coding manual wait times with the `page.wait_for_timeout()` function. From the Playwright docs: > Playwright includes assertions that will wait until the expected condition is met. Using these assertions allows making the tests non-flaky and resilient. > -[Writing Tests: Assertions](https://playwright.dev/python/docs/writing-tests#assertions)
- Loading branch information