Skip to content

feat(trace-viewer): add action filtering functionality#39412

Open
EmanueleMinotto wants to merge 1 commit intomicrosoft:mainfrom
EmanueleMinotto:trace-actions-filter
Open

feat(trace-viewer): add action filtering functionality#39412
EmanueleMinotto wants to merge 1 commit intomicrosoft:mainfrom
EmanueleMinotto:trace-actions-filter

Conversation

@EmanueleMinotto
Copy link

Split from #39334 with a more clean code (I hope) and the trace viewer only, if code is ok I'll write the same feature for the html reporter.

Without filter (default state)

Screenshot 2026-02-25 alle 18 38 28

With filter

Screenshot 2026-02-25 alle 18 38 20

@github-actions
Copy link
Contributor

Test results for "tests 1"

17 failed
❌ [playwright-test] › playwright.unhandled.spec.ts:67 › should produce unhandledRejection when context.route raises @macos-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:38 › should filter by title @ubuntu-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:49 › should filter by explicit tags @ubuntu-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:59 › should display native tags and filter by them on click @ubuntu-latest-node20
❌ [playwright-test] › reporter-html.spec.ts:134 › created › should not throw when attachment is missing @macos-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:38 › should filter by title @macos-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:49 › should filter by explicit tags @macos-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:59 › should display native tags and filter by them on click @macos-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:38 › should filter by title @ubuntu-latest-node24
❌ [playwright-test] › ui-mode-test-filters.spec.ts:49 › should filter by explicit tags @ubuntu-latest-node24
❌ [playwright-test] › ui-mode-test-filters.spec.ts:59 › should display native tags and filter by them on click @ubuntu-latest-node24
❌ [playwright-test] › ui-mode-test-filters.spec.ts:38 › should filter by title @ubuntu-latest-node22
❌ [playwright-test] › ui-mode-test-filters.spec.ts:49 › should filter by explicit tags @ubuntu-latest-node22
❌ [playwright-test] › ui-mode-test-filters.spec.ts:59 › should display native tags and filter by them on click @ubuntu-latest-node22
❌ [playwright-test] › ui-mode-test-filters.spec.ts:38 › should filter by title @windows-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:49 › should filter by explicit tags @windows-latest-node20
❌ [playwright-test] › ui-mode-test-filters.spec.ts:59 › should display native tags and filter by them on click @windows-latest-node20

4 flaky ⚠️ [chromium-library] › library/inspector/cli-codegen-3.spec.ts:226 › cli codegen › should generate frame locators (4) `@chromium-ubuntu-22.04-arm-node20`
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1082 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node20`
⚠️ [webkit-library] › library/browsertype-connect.spec.ts:736 › launchServer › should upload a folder `@webkit-ubuntu-22.04-node20`
⚠️ [webkit-page] › page/page-autowaiting-basic.spec.ts:79 › should await form-post on click `@webkit-ubuntu-22.04-node20`

38570 passed, 843 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "MCP"

17 failed
❌ [chrome] › mcp/cli-storage.spec.ts:21 › state-save saves storage state to file @mcp-ubuntu-latest
❌ [chromium] › mcp/cli-storage.spec.ts:21 › state-save saves storage state to file @mcp-ubuntu-latest
❌ [firefox] › mcp/cli-show.spec.ts:206 › locator picking is disabled when switching back to Read-only @mcp-ubuntu-latest
❌ [firefox] › mcp/cli-storage.spec.ts:21 › state-save saves storage state to file @mcp-ubuntu-latest
❌ [webkit] › mcp/cli-storage.spec.ts:21 › state-save saves storage state to file @mcp-ubuntu-latest
❌ [chrome] › mcp/autowait.spec.ts:19 › racy navigation destroys context @mcp-windows-latest
❌ [chrome] › mcp/mouse.spec.ts:75 › browser_mouse_click_xy (right button) @mcp-windows-latest
❌ [chromium] › mcp/mouse.spec.ts:75 › browser_mouse_click_xy (right button) @mcp-windows-latest
❌ [chromium] › mcp/roots.spec.ts:47 › check that trace is saved in workspace @mcp-windows-latest
❌ [firefox] › mcp/cli-show.spec.ts:206 › locator picking is disabled when switching back to Read-only @mcp-windows-latest
❌ [firefox] › mcp/cli-show.spec.ts:221 › copied locator toast clears on page change @mcp-windows-latest
❌ [firefox] › mcp/cli-show.spec.ts:245 › close session while viewing devtools shows disconnected overlay @mcp-windows-latest
❌ [msedge] › mcp/mouse.spec.ts:75 › browser_mouse_click_xy (right button) @mcp-windows-latest
❌ [chrome] › mcp/cli-storage.spec.ts:21 › state-save saves storage state to file @mcp-macos-15
❌ [chromium] › mcp/cli-storage.spec.ts:21 › state-save saves storage state to file @mcp-macos-15
❌ [firefox] › mcp/cli-show.spec.ts:158 › pick locator disable paths @mcp-macos-15
❌ [webkit] › mcp/cli-show.spec.ts:256 › running show twice gets same PID @mcp-macos-15

5219 passed, 185 skipped


Merge workflow run.

- Introduced a search field in the Actions tab to filter actions by title.
- Implemented logic to display only matching actions and their parent actions.
- Added tests to verify the filtering functionality works as expected.
@EmanueleMinotto
Copy link
Author

@yury-s PR should be ready to retry checks / for review

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.

1 participant