mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 02:08:30 +00:00
trying some more
This commit is contained in:
parent
43726e0285
commit
dfa5ced713
1 changed files with 11 additions and 4 deletions
|
|
@ -49,10 +49,17 @@ module.exports = function (driver, platform, host) {
|
|||
console.log('5')
|
||||
driver.wait(isRedirectedAfterUpload, 12000, 'Browser should navigate to api2.transloadit.com after upload')
|
||||
.then(function (isPageRedirected) {
|
||||
Driver.collectErrors(driver).then(function () {
|
||||
Driver.testEqual(driver, t, isPageRedirected === true)
|
||||
driver.quit()
|
||||
})
|
||||
console.log('6')
|
||||
driver.switchTo().alert().dismiss()
|
||||
.catch(function (err) {
|
||||
console.log(err)
|
||||
})
|
||||
Driver.testEqual(driver, t, isPageRedirected === true)
|
||||
driver.quit()
|
||||
// Driver.collectErrors(driver).then(function () {
|
||||
// Driver.testEqual(driver, t, isPageRedirected === true)
|
||||
// driver.quit()
|
||||
// })
|
||||
})
|
||||
.catch(function (err) {
|
||||
Driver.collectErrors(driver).then(function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue