Skip to content

Commit

Permalink
multi browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaleksandrova committed May 18, 2021
1 parent e2e70ab commit a08e57c
Show file tree
Hide file tree
Showing 33 changed files with 1,150 additions and 809 deletions.
10 changes: 10 additions & 0 deletions docs/config/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,13 @@ Execute the visual test:
$ uiveri5 --browsers=browser:*:android --seleniumAddress=http://127.0.0.1:4723/wd/hub --baseUrl=http://10.0.2.2:8080
```

## Run test files in parallel
Use the following capabilities to run every spec file in a separate browser parallelly
```javascript
browsers: [{
browserName: "chrome",
capabilities: {
shardTestFiles: true
}
}]
```
2 changes: 1 addition & 1 deletion e2e/Runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = class Runner {
var cmdString = [
'node',
'../bin/uiveri5',
'-v',
'--v',
'--browsers=chromeHeadless',
'--config.specResolver="./resolver/localSpecResolver"',
'--config.specs=' + opts.specs,
Expand Down
Loading

0 comments on commit a08e57c

Please sign in to comment.