Browse Source

spec: skip flaky <webview>.capturePage() test on Windows (#21175)

Milan Burda 5 years ago
parent
commit
145dd33da1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      spec/webview-spec.js

+ 7 - 0
spec/webview-spec.js

@@ -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 })