Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to resolve consistent errors in IE8 on XP, Chrome 30 on Linux. #170

Merged
merged 5 commits into from
Sep 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ branches:
- /.*/

language: node_js
# Should test the Node version that runs in production.
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Specifying-Node.js-versions
# https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
# I believe RHcloud (openshift 2) was running 0.11 but it's being sunset anyway.
node_js:
- "0.11" # Latest http://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Provided-Node.js-Versions
- "8"

# http://blog.travis-ci.com/2013-12-05-speed-up-your-builds-cache-your-dependencies/
cache:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"sync-exec": "~0.6.2",
"wd": "~1.0.0"
},
"engines": {
"node": "8.x"
},
"main": "server.coffee",
"scripts": {
"start": "coffee server.coffee",
Expand Down
14 changes: 7 additions & 7 deletions test/browser-on-saucelabs.spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ timeouts = {
desiredBrowsers = [
# Generated with https://docs.saucelabs.com/reference/platforms-configurator/
# Desktop:
{browserName: 'internet explorer', version: '8.0', platform: 'Windows XP'}
{browserName: 'internet explorer', version: '8.0', platform: 'Windows 7'}
{browserName: 'internet explorer', version: '11.0', platform: 'Windows 10'}
{browserName: 'MicrosoftEdge'}
# arbitrary somewhat old - but not ancient - FF and Chrome versions.
{browserName: 'firefox', version: '30.0', platform: 'Linux'}
{browserName: 'chrome', version: '30.0', platform: 'Linux'}
{browserName: 'safari', version: '9.0'}
{browserName: 'safari', version: '6.0'}
{browserName: 'chrome', version: '35.0', platform: 'Linux'}
{browserName: 'Safari', version: '10.0', platform: 'macOS 10.12'}
{browserName: 'Safari', version: '7.0', platform: 'OS X 10.9'}
# Mobile (doesn't mean it's usable though):
{browserName: 'safari', deviceName: 'iPad Simulator', platformVersion: '8.4'}
{browserName: 'android', deviceName: 'Android Emulator', platformVersion: '4.0'}
{browserName: 'Safari', deviceName: 'iPad Simulator', platformName: 'iOS', platformVersion: '8.4'}
# {browserName: 'Browser', deviceName: 'Android Emulator', platformName: 'Android', platformVersion: '4.4'}
]

getCommonDesired = ->
Expand Down Expand Up @@ -142,7 +142,7 @@ describeBrowserTest = (browserName, getDesired, getSite) ->
expect(err).to.be(null)
browser.waitFor wd.asserters.jsCondition('document.title.match(/smoke test/)'), 10*sec, (err, value) ->
expect(err).to.be(null)
browser.waitForElementByCss '.MathJax_Display', 15*sec, (err, el) ->
browser.waitForElementByCss '.MathJax_Display', 30*sec, (err, el) ->
expect(err).to.be(null)
el.text (err, text) ->
expect(err).to.be(null)
Expand Down