Skip to content

feat(har): add _resourceType to all requests#41077

Merged
dcrousso merged 1 commit into
microsoft:mainfrom
dcrousso:feat-har-_resourceType
Jun 1, 2026
Merged

feat(har): add _resourceType to all requests#41077
dcrousso merged 1 commit into
microsoft:mainfrom
dcrousso:feat-har-_resourceType

Conversation

@dcrousso
Copy link
Copy Markdown
Contributor

@dcrousso dcrousso commented Jun 1, 2026

this is a followup for #41015 (comment)

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread tests/library/har.spec.ts Outdated
expect(tail.toString()).toMatch(/\}\s*\}\s*$/);
});

it.describe('should record resource type', () => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd keep the number of tests minimal for this field, just one test maybe with a few resource types should be sufficient. There are no usages at the moment except for "websocket" and with agents our test suite has been growing too fast which makes CI jobs run increasingly longer.

@dcrousso dcrousso force-pushed the feat-har-_resourceType branch from 912192d to e278a5f Compare June 1, 2026 22:12
@dcrousso dcrousso force-pushed the feat-har-_resourceType branch from e278a5f to 0edef5b Compare June 1, 2026 22:13
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Test results for "MCP"

7230 passed, 1103 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Test results for "tests 1"

7 flaky ⚠️ [chromium-library] › library/popup.spec.ts:261 › should not throw when click closes popup `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/video.spec.ts:719 › screencast › should work with video+trace `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-page] › page/page-request-continue.spec.ts:756 › propagate headers cross origin redirect after interception `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-page] › page/page-request-continue.spec.ts:756 › propagate headers cross origin redirect after interception `@chromium-ubuntu-22.04-node20`
⚠️ [firefox-library] › library/har-websocket.spec.ts:170 › should record websocket connection failure `@firefox-ubuntu-22.04-node20`
⚠️ [firefox-page] › page/page-emulate-media.spec.ts:144 › should keep reduced motion and color emulation after reload `@firefox-ubuntu-22.04-node20`
⚠️ [playwright-test] › ui-mode-test-output.spec.ts:118 › should collapse repeated console messages for test `@macos-latest-node20`

39452 passed, 775 skipped


Merge workflow run.

@dcrousso dcrousso merged commit 6c05bfb into microsoft:main Jun 1, 2026
50 of 51 checks passed
@dcrousso dcrousso deleted the feat-har-_resourceType branch June 1, 2026 23:06
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