-
Notifications
You must be signed in to change notification settings - Fork 56
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
noptor: restart browser #316
base: noptor
Are you sure you want to change the base?
Conversation
src/ptor/taskScheduler.js
Outdated
@@ -2,6 +2,19 @@ | |||
|
|||
var ConfigParser = require('./configParser').ConfigParser; | |||
|
|||
/** | |||
* properties for parallelization and multi browser support: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is to support only maxInstances e.g. config.maxInstances:5 would mean that up to 5 parallel sessions are started that drain the execution queue. The queue contains the list of spec.js files.
src/coreReporters/runnerReporter.js
Outdated
// called (e.g. when fit is used) | ||
this.startTime = new Date(); | ||
|
||
browser.plugins_.addPlugin({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is to have a single flag, config.restartBrowserBetweenSpecs: true ( for consistent naming with config.specs and config.suites params) that will be handled in the TaskRunner. And if set, will restart the browser before taking the next task.
based on #315