Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
e25312b7
Unverified
Commit
e25312b7
authored
Apr 01, 2019
by
JJ Kasper
Committed by
GitHub
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure error isn't swallowed for production test on CircleCi (#6848)
parent
14eef587
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
config.yml
.circleci/config.yml
+1
-1
next-webdriver.js
test/lib/next-webdriver.js
+3
-1
No files found.
.circleci/config.yml
View file @
e25312b7
...
@@ -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'
...
...
test/lib/next-webdriver.js
View file @
e25312b7
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment