-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: UI Mode and Trace Files missing recorded data but contain action history #31505
Comments
We need something which we can run locally - are you able to provide us a zip or a small Git repository which surfaces the problem? |
My apologies, I meant to include this. Here you are. This is my repo minus node_modules. I assume you can create the .env file with a BASE_URL and run it. However it will fail during setup since you won't have our API running locally to complete global setup - so I'm not 100% sure if you will find this useful. I did create a new project and didn't run into this issue, so it seems this issue could be isolated to my project since updating to the latest version. |
Here's one of the generated trace files. I modified an assertion to cause this test to fail and as you can see in the report, there's no data outside of the actions. |
Have you tried disabling video and only enabling tracing? video: 'on',
contextOptions: {
recordVideo: {
dir: 'test-results/videos/'
}
} |
I will test this and report back. Thanks for the suggestion. |
This might be fixed in our Canary builds, could you try them? https://playwright.dev/docs/canary-releases |
Sorry for the delay, I had vacation last week and forgot to report back on this before leaving. I did try this and it didn't resolve my issue.
This seems to have fixed it :) Thank you for the suggestion. Should I stay on Canary or switch back once it is fully released? |
@itz4blitz Could you please try the npm install -D @playwright/test@beta
npx playwright install
npx playwrigh test |
The patch has been released. |
Version
1.45.0
Steps to reproduce
Expected behavior
When I run a test, once it fails, I expect to see the browsers and when I click on an action, I expect to see that replayed in the browser.
Actual behavior
My browser is empty in UI mode and the top menu which shows the timeline is empty. The same issue exists in the trace file.
Additional context
I tried deleting and reinstalling node_modules
Environment
The text was updated successfully, but these errors were encountered: