Open illright opened 4 months ago
Investigation Note: No test is selected, if you execute a single test, it will focus and show it's live preview. We'll put a placeholder suggesting to select a test.
Since UI Mode runs tests in parallel, we can't automatically select the "current test".
Since UI Mode runs tests in parallel, we can't automatically select the "current test".
This is actually an interesting thing to consider.
I personally see the value in running tests in parallel to quickly identify failures, but I have no issues doing that through the CLI (provided that the CLI is sufficiently ergonomic), and then dive into individual test failures with UI mode. As such, I would rather have the default way of running tests to be sequential, and have an extra button to initiate parallel test runs for those who are into that kind of thing
Version
1.45.0
Steps to reproduce
https://github.com/illright/simple-playwright
Then enable Chromium and Setup projects and hit F5 to run the tests
Expected behavior
I expect that the live preview shows where Playwright is stuck during the test execution
Actual behavior
During the runtime of the test, the timeline and live preview are empty.
This only seems to happen the first time you run the test after Playwright was started. If you rerun, then the timeline is behaving as expected.
Additional context
No response
Environment