Skip to content
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

fix(trace viewer): library-only trace should not merge actions #31768

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jul 19, 2024

Without wallTime, actions are matched by actionName:undefined and all actions with the same are merged.

Fixes #31764.

Without `wallTime`, actions are matched by `actionName:undefined`
and all actions with the same are merged.
@dgozman dgozman requested a review from yury-s July 19, 2024 08:18
Copy link
Contributor

Test results for "tests 1"

7 flaky ⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [firefox-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [webkit-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture

23939 passed, 616 skipped
✔️✔️✔️

Merge workflow run.

@yury-s
Copy link
Member

yury-s commented Jul 19, 2024

Without wallTime, actions are matched by actionName:undefined and all actions with the same are merged.

I understand that actions with same timestamp would be merged, but why do we have actions without wallTime ?

Update: I see, in the new traces there is no wallTime, only stepId!

@dgozman dgozman merged commit b535139 into microsoft:main Jul 19, 2024
26 of 30 checks passed
yury-s pushed a commit to yury-s/playwright that referenced this pull request Jul 20, 2024
…hould not merge actions

Without `wallTime`, actions are matched by `actionName:undefined` and
all actions with the same are merged.

Fixes microsoft#31764.
yury-s pushed a commit to yury-s/playwright that referenced this pull request Jul 22, 2024
…hould not merge actions

Without `wallTime`, actions are matched by `actionName:undefined` and
all actions with the same are merged.

Fixes microsoft#31764.
yury-s added a commit that referenced this pull request Jul 22, 2024
… merge actions (#31780)

This PR cherry-picks two trace viewer fixes: 
cherry-pick(#31768): fix(trace viewer): library-only trace should not
merge actions
cherry-pick(#31564): fix(trace): do not corrupt test runner actions when
no library trace is present

Reference: microsoft/playwright-java#1617
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: some actions do not appear in the trace file
2 participants