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

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

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

yury-s
Copy link
Member

@yury-s yury-s commented Jul 20, 2024

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

…actions when no library trace is present

Recent logic that matches either by `stepId` or by `apiName`+`wallTime`
did not account for "no library trace" scenario.
@yury-s yury-s requested a review from dgozman July 20, 2024 00:51

This comment has been minimized.

…hould not merge actions

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

Fixes microsoft#31764.
Copy link
Contributor

Test results for "tests 1"

2 flaky ⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [webkit-page] › page/workers.spec.ts:243:3 › should support offline

28749 passed, 692 skipped
✔️✔️✔️

Merge workflow run.

@yury-s yury-s merged commit b129aba into microsoft:release-1.45 Jul 22, 2024
25 of 30 checks passed
@yury-s yury-s deleted the cp-trace-actions branch July 22, 2024 17:00
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.

2 participants