test: fix Electron tests (#17180)

This commit is contained in:
Max Schmitt 2022-09-08 09:11:47 +02:00 committed by GitHub
parent a68ca05264
commit 22c092db10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ export const electronTest = baseTest.extend<TraceViewerFixtures>(traceViewerFixt
browserMajorVersion: [Number(chromiumVersion.split('.')[0]), { scope: 'worker' }],
isAndroid: [false, { scope: 'worker' }],
isElectron: [true, { scope: 'worker' }],
isWebView2: [false, { scope: 'worker' }],
electronApp: async ({ playwright }, run) => {
// This env prevents 'Electron Security Policy' console message.