all repos — caroster @ a35bb0c7f225b13d8268326ad157f3a3b5215b99

[Octree] Group carpool to your event https://caroster.io

e2e/conf/chrome.js (view raw)

 1'use strict'
 2
 3/* eslint-disable jsdoc/valid-types */
 4const config = {
 5  hostname: 'chromedriver',
 6  path: '/',
 7  capabilities: [
 8    {
 9      // Set maxInstances to 1 if screen recordings are enabled:
10      // maxInstances: 1,
11      browserName: 'chrome',
12      'goog:chromeOptions': {
13        // Disable headless mode if screen recordings are enabled:
14        args: ['--headless', '--window-size=1440,900']
15      }
16    }
17  ],
18  framework: 'cucumber',
19  baseUrl: process.env.BASE_URL,
20  logLevel: 'warn',
21  reporters: [
22    'spec',
23    [
24      'allure',
25      {
26        outputDir: '/opt/reports/allure/',
27        disableWebdriverStepsReporting: true,
28        disableWebdriverScreenshotsReporting: false,
29        useCucumberStepReporter: true
30      }
31    ]
32  ],
33  cucumberOpts: {
34    requireModule: ['@babel/register'],
35    require: ['./test/steps/**/*.steps.js'],
36    backtrace: false,
37    compiler: [],
38    dryRun: false,
39    failFast: false,
40    format: ['pretty'],
41    colors: true,
42    snippets: true,
43    source: true,
44    profile: [],
45    strict: false,
46    tags: [],
47    timeout: 100000,
48    ignoreUndefinedDefinitions: false,
49    tagExpression: 'not @skip'
50  },
51  specs: ['test/features/**/*.feature'],
52  maximizeWindow: true,
53  screenshots: {
54    saveOnFail: true
55  },
56  videos: {
57    enabled: true,
58    resolution: '1440x900',
59    startDelay: 500,
60    stopDelay: 500
61  },
62  assetsDir: '/home/webdriver/assets/'
63}
64
65exports.config = Object.assign({}, require('../hooks'), config)