Ver código fonte

build like this?

Artur Paikin 6 anos atrás
pai
commit
5b25f2341c

+ 2 - 2
test/endtoend/transloadit/test.js

@@ -46,9 +46,9 @@ describe('Transloadit file processing', () => {
         `image/jpeg`, // type
         fs.readFileSync(img, 'base64') // b64
       )
-      browser.execute(selectFakeFile, 'uppyTransloadit')
+      // browser.execute(selectFakeFile, 'uppyTransloadit')
     }
-    $(resultPath).waitForExist(15000)
+    $(resultPath).waitForExist(25000)
     const text = browser.getText(resultPath)
     expect(text).to.be.equal('ok')
   })

+ 2 - 1
test/endtoend/wdio.base.conf.js

@@ -17,7 +17,8 @@ exports.config = {
   // directory is where your package.json resides, so `wdio` will be called from there.
   //
   specs: [
-    'test/endtoend/*/test.js'
+    // 'test/endtoend/*/test.js',
+    'test/endtoend/transloadit/test.js'
   ],
 
   // Patterns to exclude.