Skip to content

Conversation

tsaleksandrova
Copy link
Contributor

based on #315

var ConfigParser = require('./configParser').ConfigParser;

/**
* properties for parallelization and multi browser support:
Copy link

@simplesoftlabs simplesoftlabs May 20, 2021

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.

// called (e.g. when fit is used)
this.startTime = new Date();

browser.plugins_.addPlugin({
Copy link

@simplesoftlabs simplesoftlabs May 20, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants