Skip to content

chore: add a test for builtins#35754

Merged
dgozman merged 1 commit into
microsoft:mainfrom
dgozman:test-eval-all-broken-map
Apr 29, 2025
Merged

chore: add a test for builtins#35754
dgozman merged 1 commit into
microsoft:mainfrom
dgozman:test-eval-all-broken-map

Conversation

@dgozman

@dgozman dgozman commented Apr 25, 2025

Copy link
Copy Markdown
Collaborator

References #35683.

This was broken by #35721.

expect(divsCount).toBe(3);
});

it.fixme('should work with broken Map', async ({ page, server }) => {

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.

Why did 'should work with deleted Map' work?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

That one only uses UtilityScript that currently instantiates builtins manually. However, most of the injected code imports from builtins and relies on the singleton instance, which is currently broken.

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.

server unused!

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 failed
❌ [playwright-test] › ui-mode-metadata.spec.ts:19:5 › should render html report git info metadata @windows-latest-node18-1

6 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:986:7 › cli codegen › should not throw csp directive violation errors @firefox-ubuntu-22.04-node18
⚠️ [firefox-page] › page/page-evaluate.spec.ts:424:3 › should throw for too deep reference chain @firefox-ubuntu-22.04-node18
⚠️ [webkit-library] › library/browsercontext-pages.spec.ts:82:3 › should click the button with offset with page scale @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › library/browsercontext-viewport-mobile.spec.ts:124:5 › mobile viewport › respect meta viewport tag @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › page/page-screenshot.spec.ts:345:5 › page screenshot › should work while navigating @webkit-ubuntu-22.04-node18
⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:145:5 › should watch all @windows-latest-node18-1

39084 passed, 809 skipped
✔️✔️✔️

Merge workflow run.

pull Bot pushed a commit to oscard0m/playwright that referenced this pull request Apr 28, 2025
@dgozman
dgozman merged commit 9b6fbcc into microsoft:main Apr 29, 2025
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