-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-multi.js
More file actions
43 lines (37 loc) · 859 Bytes
/
Copy pathconfig-multi.js
File metadata and controls
43 lines (37 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
exports.config = {
getPageTimeout: 5000,
framework: 'custom',
frameworkPath: require.resolve('protractor-cucumber-framework'),
specs: [
'tests/features/*.feature'
],
multiCapabilities: [
{
browserName: 'chrome',
chromeOptions: {
args: ['start-maximized', '--disable-extensions']
}
},
{
browserName: 'chrome',
chromeOptions: {
args: ['--window-size=720,1280', '--disable-extensions']
}
},
{
name: 'firefox',
browserName: 'firefox',
}
],
cucumberOpts: {
require: 'tests/step_definitions/*.js',
format: 'pretty',
tags: process.env.TAGS
},
onPrepare : function() {
var chai = require('chai');
chaiAsPromised = require('chai-as-promised');
expect = chai.expect;
chai.use(chaiAsPromised);
}
};