Added delay to failing tests

pull/5370/head
ioedeveloper 5 years ago
parent a22afaa41e
commit 2d1ea5a474
  1. 2
      test-browser/commands/renameFile.js
  2. 2
      test-browser/tests/generalSettings.js
  3. 1
      test-browser/tests/terminal.js

@ -40,7 +40,7 @@ function renameFile (browser, path, newFileName, renamedPath, done) {
})
})
.click('body') // blur
.waitForElementVisible('#modal-footer-ok', 2000)
.waitForElementVisible('#modal-footer-ok', 10000)
.pause(2000)
.click('#modal-footer-ok')
.waitForElementNotPresent('[data-path="' + path + '"]')

@ -97,7 +97,7 @@ module.exports = {
'Should load Cerulean theme': function (browser) {
browser.waitForElementVisible('*[data-id="verticalIconsKindsettings"]')
.click('*[data-id="settingsTabThemeCerulean"]')
.pause(2000)
.pause(5000)
.checkElementStyle(':root', '--primary', remixIdeThemes.curelean.primary)
.checkElementStyle(':root', '--secondary', remixIdeThemes.curelean.secondary)
.checkElementStyle(':root', '--success', remixIdeThemes.curelean.success)

@ -70,6 +70,7 @@ module.exports = {
.switchFile('browser/asyncAwaitWithFileManagerAccess.js')
.pause(5000)
.executeScript(`remix.execute('browser/asyncAwaitWithFileManagerAccess.js')`)
.pause(2000)
.journalLastChildIncludes('contract Ballot {')
.end()
},

Loading…
Cancel
Save