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

fix(electron): allow downloads #31390

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Jun 20, 2024

Maybe we should move https://github.com/microsoft/playwright/blob/main/tests/library/download.spec.ts into "page tests"? Except this single test which does browser.newPage({ acceptDownloads: false });.

This was fixed by electron/electron#41718 - hence we didn't do it before. We should probably wait with this one until August 20th, when Electron v29 reaches EOL, or make this call either "not throw" / add a version check to it, since it throws in v29.

Fixes #31389
Depends on #30334

This comment has been minimized.

This comment has been minimized.

@dgozman
Copy link
Contributor

dgozman commented Jun 20, 2024

Maybe we should move https://github.com/microsoft/playwright/blob/main/tests/library/download.spec.ts into "page tests"?

Sounds good, but we'll need to skip the tests on Android.

This comment has been minimized.

Copy link
Contributor

Test results for "tests 1"

28374 passed, 648 skipped
✔️✔️✔️

Merge workflow run.

@mxschmitt mxschmitt merged commit 6ed3b37 into microsoft:main Jun 20, 2024
25 of 30 checks passed
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.

[Bug]: Trying to silently download files in Electron app but facing issues
2 participants