mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: skip flaky <webview>.capturePage() test on Windows (#21175)
This commit is contained in:
committed by
John Kleinschmidt
parent
6ca7eb79bc
commit
145dd33da1
@@ -1023,6 +1023,13 @@ describe('<webview> tag', function () {
|
||||
})
|
||||
|
||||
describe('<webview>.capturePage()', () => {
|
||||
before(function () {
|
||||
// TODO(miniak): figure out why this is failing on windows
|
||||
if (process.platform === 'win32') {
|
||||
this.skip()
|
||||
}
|
||||
})
|
||||
|
||||
it('returns a Promise with a NativeImage', async () => {
|
||||
const src = 'data:text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E'
|
||||
await loadWebView(webview, { src })
|
||||
|
||||
Reference in New Issue
Block a user