Skip to content

chore(firefox): Don't upgrade HTTP requests to HTTPS#34465

Merged
yury-s merged 2 commits intomicrosoft:mainfrom
whimboo:disable-https-first
Jan 24, 2025
Merged

chore(firefox): Don't upgrade HTTP requests to HTTPS#34465
yury-s merged 2 commits intomicrosoft:mainfrom
whimboo:disable-https-first

Conversation

@whimboo
Copy link
Collaborator

@whimboo whimboo commented Jan 24, 2025

@whimboo
Copy link
Collaborator Author

whimboo commented Jan 24, 2025

CC @yury-s. This will fix quite a number of test failures for BiDi. I assume it's wanted for Juggler as well.

@github-actions

This comment has been minimized.

@whimboo
Copy link
Collaborator Author

whimboo commented Jan 24, 2025

Hm, where can I actually see the BiDi results? There is no job visible.

@mxschmitt
Copy link
Contributor

FYI, currently bidi tests run only based no when **bidi** files were changed.

@whimboo
Copy link
Collaborator Author

whimboo commented Jan 24, 2025

FYI, currently bidi tests run only based no when **bidi** files were changed.

I changed packages/playwright-core/src/server/bidi/third_party/firefoxPrefs.ts for the preference. That's located under the bidi folder.

@whimboo
Copy link
Collaborator Author

whimboo commented Jan 24, 2025

Hm, shouldn't this be - packages/playwright-core/src/server/bidi/** to as well include subfolders?

@mxschmitt
Copy link
Contributor

Yes sounds good, feel free to adjust it in the same PR.

This is similar to Chrome where it is disabled as well.
@whimboo whimboo force-pushed the disable-https-first branch from 1e61c17 to 3565d04 Compare January 24, 2025 18:17
@github-actions
Copy link
Contributor

Test results for "tests 1"

1 failed
❌ [webkit-library] › tests/library/browsercontext-viewport-mobile.spec.ts:206:5 › mobile viewport › view scale should reset after navigation @webkit-ubuntu-22.04-node18

19 flaky ⚠️ [firefox-page] › tests/page/page-evaluate.spec.ts:403:3 › should throw for too deep reference chain @firefox-ubuntu-22.04-node18
⚠️ [playwright-test] › tests/ui-mode-test-setup.spec.ts:98:5 › should show errors in config @macos-latest-node18-1
⚠️ [playwright-test] › tests/ui-mode-test-ct.spec.ts:59:5 › should run component tests after editing test @ubuntu-latest-node22-1
⚠️ [webkit-library] › tests/library/browsercontext-pages.spec.ts:82:3 › should click the button with offset with page scale @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/inspector/cli-codegen-1.spec.ts:55:7 › cli codegen › should double click @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/proxy.spec.ts:93:11 › should proxy local network requests › with other bypasses › loopback address @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/screenshot.spec.ts:44:14 › page screenshot › should work with a mobile viewport @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/screenshot.spec.ts:206:14 › element screenshot › element screenshot should work with a mobile viewport @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/screenshot.spec.ts:278:14 › element screenshot › should restore viewport after page screenshot and exception @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/trace-viewer.spec.ts:237:1 › should contain action info @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/trace-viewer.spec.ts:1336:1 › should highlight locator in iframe while typing @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/trace-viewer.spec.ts:1551:1 › should not leak recorders @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/video.spec.ts:441:5 › screencast › should work for popups @webkit-ubuntu-22.04-node18
⚠️ [webkit-library] › tests/library/video.spec.ts:475:5 › screencast › should scale frames down to the requested size @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › tests/page/page-leaks.spec.ts:82:5 › click should not leak @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › tests/page/page-leaks.spec.ts:107:5 › fill should not leak @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › tests/page/page-leaks.spec.ts:161:5 › waitFor should not leak @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › tests/page/page-screenshot.spec.ts:868:5 › page screenshot animations › should wait for fonts to load @webkit-ubuntu-22.04-node18
⚠️ [playwright-test] › tests/ui-mode-test-watch.spec.ts:145:5 › should watch all @windows-latest-node18-1

37640 passed, 648 skipped
✔️✔️✔️

Merge workflow run.

@whimboo
Copy link
Collaborator Author

whimboo commented Jan 24, 2025

I checked the results and we have 2885 passing tests with this change. It means around 80 lesser tests that fail.

If you could get this PR merged I would appreciate.

@yury-s yury-s merged commit 9d91d7a into microsoft:main Jan 24, 2025
28 of 31 checks passed
@whimboo whimboo deleted the disable-https-first branch February 8, 2025 20:21
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.

3 participants