Skip to content

Commit

Permalink
Undo
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Oct 15, 2019
1 parent 8732aad commit 450c693
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/server/test/support/helpers/e2e.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ module.exports = e2e = {

options: (ctx, options = {}) ->
_.defaults(options, {
browser: 'electron'
project: e2ePath
timeout: if options.exit is false then 3000000 else 120000
originalTitle: null
Expand Down Expand Up @@ -373,11 +374,6 @@ module.exports = e2e = {
expect(process.exit).to.be.calledWith(code)

exec: (ctx, options = {}) ->
## if the current test wasn't meant to run in the current browser, skip it
if (b = process.env.BROWSER) and b isnt options.browser
console.log("The current test is meant to run in #{options.browser}, but BROWSER env var = #{b}. Skipping...")
return ctx.skip()

options = @options(ctx, options)
args = @args(options)

Expand Down

0 comments on commit 450c693

Please sign in to comment.