Sfoglia il codice sorgente

Skip consistently failing thumbnail test on IE for now

Renée Kooi 6 anni fa
parent
commit
8e2aa30091
1 ha cambiato i file con 8 aggiunte e 2 eliminazioni
  1. 8 2
      test/endtoend/thumbnails/test.js

+ 8 - 2
test/endtoend/thumbnails/test.js

@@ -1,4 +1,4 @@
-/* global browser, expect, $, $$ */
+/* global browser, capabilities, expect, $, $$ */
 const path = require('path')
 const fs = require('fs')
 const { selectFakeFile, supportsChooseFile } = require('../utils')
@@ -15,7 +15,13 @@ const notImages = [
   { type: 'text/javascript', file: __filename }
 ]
 
-describe('ThumbnailGenerator', () => {
+describe('ThumbnailGenerator', function () {
+  // Does not work on IE right now
+  if (capabilities.browserName === 'internet explorer') {
+    this.skip()
+    return
+  }
+
   beforeEach(() => {
     browser.url(testURL)
   })