You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a general issue (not specific to any test/code).
Expected behavior
When playwright exits, the user should always see some sort of explanation why. They should never see a screen like this one:
NOTE: Every other tab is similarly empty, except for the Source tab, which just shows the test itself:
Actual behavior
You see a screen like the above.
Look, Playwright knows why it stopped running 100% of the time, right? There's no reason why it shouldn't report that reason 100% of the time also. Ideally every test failure should have some explanatory text in the Errors tab, but if not there then at least in some other tab.
Of course, in these situations Playwright doesn't have an obvious error, so it can't show a lot of info ... but it should still be able to say "the test ran too long and exceeded the timeout", or "a promise didn't finish in a beforeEach" or something that conveys why it stopped running.
Additional context
Obviously, the specific reason this is happening has to do with my test code, but the issue I'm trying to raise is not specific to my code. It shouldn't matter what the test code is: the test runner always knows why its exiting, so I'm simply requesting that it always surface that information.
This seems similar to #29133, which has been recently fixed. Could you please try with the @next release and see whether you can actually see an error in the Errors tab?
Version
1.40.1
Steps to reproduce
This is a general issue (not specific to any test/code).
Expected behavior
When playwright exits, the user should always see some sort of explanation why. They should never see a screen like this one:
NOTE: Every other tab is similarly empty, except for the Source tab, which just shows the test itself:
Actual behavior
You see a screen like the above.
Look, Playwright knows why it stopped running 100% of the time, right? There's no reason why it shouldn't report that reason 100% of the time also. Ideally every test failure should have some explanatory text in the Errors tab, but if not there then at least in some other tab.
Of course, in these situations Playwright doesn't have an obvious error, so it can't show a lot of info ... but it should still be able to say "the test ran too long and exceeded the timeout", or "a promise didn't finish in a beforeEach" or something that conveys why it stopped running.
Additional context
Obviously, the specific reason this is happening has to do with my test code, but the issue I'm trying to raise is not specific to my code. It shouldn't matter what the test code is: the test runner always knows why its exiting, so I'm simply requesting that it always surface that information.
Environment
The text was updated successfully, but these errors were encountered: