spec: skip flaky <webview>.capturePage() test on Windows (#21175)
This commit is contained in:
parent
6ca7eb79bc
commit
145dd33da1
1 changed files with 7 additions and 0 deletions
|
@ -1023,6 +1023,13 @@ describe('<webview> tag', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('<webview>.capturePage()', () => {
|
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 () => {
|
it('returns a Promise with a NativeImage', async () => {
|
||||||
const src = 'data:text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E'
|
const src = 'data:text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E'
|
||||||
await loadWebView(webview, { src })
|
await loadWebView(webview, { src })
|
||||||
|
|
Loading…
Reference in a new issue