Skip to content

Commit

Permalink
Chore: Increasing wait time and test timeouts (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press authored Dec 8, 2017
1 parent 65e35f1 commit 2220c1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ addons:
secure: EPjmiionirVVkbFbp9r4DjMLMcfmdj9Sq8UiMcIGGf5gQk0cV5sgJpDHUDlKhFL3na8FkYf27qadaaJHG9Lr7o1V6IN1tsLamD9kdQjeG1pUSZbyMoMbja9i8CY0/MnQPaPL8UBXbcPrJoBwPNp6PphZ1PtBW68oXale3Xdfd7JMyTtm8f6G40pxpDl50dKI2VZHKKrfWakFkK2DMM73vJScxCrlyJEDc+wSJi2Mr/lrZc/QYy3ug3BGq1S6vV6wsOCk/4Jx+W1hvqK0QBgIytv1XzypqDFJ0OiTiOccsbwvEUHOepQl0EQxBZtM9PO//SBMFc2TqAhldta37JFrEcOEtqrsHwqVELzRMJm9lDSSD+TSj/tri6Kevy311gboZsJh2T3Znkq2h5Zpx8ImbgZCKvQyn8bTSp9MOkb9bGt1tUkZ1LEk3Pj0PUEjFZMnAsT/fLg2EGdXRQWb1W/ZyknoNPfvsU5Po8obQ/AOlKMqaMM7YiGQWruL7Esml0XaiL9H1TSUwmtyAnAU+Q1eYv7II7SnQmVxcgILX7D7nAO82/jP2f12fszEOlgivLr0AS9iAMLcNsrTfSO2p60MESmc/2ZVGjIagNEaGohfb9AI5d0tezU6+GWijuRijVqn1x2rLbSXOV7c3G9yrJpGTru9WD3n/ekgVvg/0nanBpU=
before_script:
- python -m SimpleHTTPServer &
- sleep 2
- sleep 15
stages:
- ci
- name: sauce-labs
Expand Down
4 changes: 2 additions & 2 deletions functional-tests/base-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ describe('Base Test', () => {

it('should load a file', () => {
return this.browser
.wait(webdriver.until.elementLocated(webdriver.By.className('bp-loaded')), 5000)
.wait(webdriver.until.elementLocated(webdriver.By.className('bp-loaded')), 10000)
.then((element) => {
this.browser.wait(webdriver.until.elementIsVisible(element), 5000).then((el) => {
this.browser.wait(webdriver.until.elementIsVisible(element), 10000).then((el) => {
expect(el).to.not.equal(undefined);
});
});
Expand Down

0 comments on commit 2220c1c

Please sign in to comment.