aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-07 23:35:02 +0200
committerMario <mario@mariovavti.com>2020-05-07 23:35:02 +0200
commitfae70bf0a7f1b566d25e30064f60d58ab150951a (patch)
tree1714511edb85ed0e28034ed9371d5fc515504fd6 /vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js
parentffd2faf8a09a870e8dbecb3ad168e0a9b25941d3 (diff)
downloadvolse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.tar.gz
volse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.tar.bz2
volse-hubzilla-fae70bf0a7f1b566d25e30064f60d58ab150951a.zip
Revert "composer updates"
This reverts commit dbfe748d274f6843fc91a3071df7be45c4ab5b00
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js')
-rw-r--r--vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js b/vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js
index eccb6feb4..dfef36394 100644
--- a/vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js
+++ b/vendor/blueimp/jquery-file-upload/wdio/test/pages/file-upload.js
@@ -36,7 +36,7 @@ class FileUpload {
*/
open(timeout) {
browser.url('/')
- this.fileinput.waitForExist({ timeout })
+ this.fileinput.waitForExist(timeout)
return this
}
/**
@@ -48,10 +48,10 @@ class FileUpload {
*/
upload(files, timeout) {
this.fileinput.addValue(files.join('\n'))
- browser.waitUntil(() => !this.processing.length, { timeout })
+ browser.waitUntil(() => !this.processing.length, timeout)
this.start.click()
- browser.waitUntil(() => !!this.downloads.length, { timeout })
- browser.waitUntil(() => !this.uploads.length, { timeout })
+ browser.waitUntil(() => !!this.downloads.length, timeout)
+ browser.waitUntil(() => !this.uploads.length, timeout)
return this
}
/**
@@ -62,11 +62,12 @@ class FileUpload {
*/
delete(timeout) {
this.toggle.click()
- browser.waitUntil(() => this.downloads.length === this.checked.length, {
+ browser.waitUntil(
+ () => this.downloads.length === this.checked.length,
timeout
- })
+ )
this.remove.click()
- browser.waitUntil(() => !this.downloads.length, { timeout })
+ browser.waitUntil(() => !this.downloads.length, timeout)
return this
}
}