Unverified Commit e25312b7 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Make sure error isn't swallowed for production test on CircleCi (#6848)

parent 14eef587
...@@ -40,7 +40,7 @@ jobs: ...@@ -40,7 +40,7 @@ jobs:
at: . at: .
- run: - run:
name: Production Tests name: Production Tests
command: '[[ ! -z $BROWSERSTACK_USERNAME ]] && yarn testall test/integration/production/ || echo "Not running for PR"' command: 'if [[ ! -z $BROWSERSTACK_USERNAME ]]; then yarn testall test/integration/production/; else echo "Not running for PR"; fi'
environment: environment:
BROWSERSTACK: 'true' BROWSERSTACK: 'true'
BROWSER_NAME: 'ie' BROWSER_NAME: 'ie'
......
...@@ -87,5 +87,7 @@ function getBrowser (url, timeout) { ...@@ -87,5 +87,7 @@ function getBrowser (url, timeout) {
}) })
} }
if (global.isBrowserStack) webdriver = global.bsBrowser if (global.isBrowserStack) {
webdriver = (...args) => global.bsWd(...args)
}
export default webdriver export default webdriver
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment