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

macOS で Playwright がエラーになるのを修正 #518

Merged
merged 7 commits into from
Feb 16, 2022
5 changes: 4 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ const config: PlaywrightTestConfig = {
screenshot: 'only-on-failure',
video: 'retain-on-failure',
ignoreHTTPSErrors: true,
acceptDownloads: true
acceptDownloads: true,
proxy: {
server: process.env.HTTP_PROXY ? `http://${process.env.HTTP_PROXY}` : 'http://localhost:8090'
}
},

/* Configure projects for major browsers */
Expand Down