1 | 'use strict'
|
2 | var buildId = process.env.CIRCLE_BUILD_NUM || process.env.TRAVIS_JOB_NUMBER
|
3 |
|
4 | module.exports = {
|
5 | 'src_folders': ['./test-browser/test'],
|
6 | 'output_folder': './test-browser/test/reports',
|
7 | 'custom_commands_path': '',
|
8 | 'custom_assertions_path': '',
|
9 | 'globals_path': '',
|
10 | 'page_objects_path': '',
|
11 |
|
12 | 'selenium': {
|
13 | 'start_process': false,
|
14 | 'server_path': '',
|
15 | 'log_path': '',
|
16 | 'host': '127.0.0.1',
|
17 | 'port': 4444,
|
18 | 'cli_args': {
|
19 | 'webdriver.chrome.driver': '',
|
20 | 'webdriver.ie.driver': '',
|
21 | 'webdriver.firefox.profile': ''
|
22 | }
|
23 | },
|
24 |
|
25 | 'test_settings': {
|
26 | 'default': {
|
27 | 'launch_url': 'http://ondemand.saucelabs.com:80',
|
28 | 'selenium_host': 'ondemand.saucelabs.com',
|
29 | 'selenium_port': 80,
|
30 | 'silent': true,
|
31 | 'username': 'yanneth',
|
32 | 'access_key': '1f5a4560-b02b-41aa-b52b-f033aad30870',
|
33 | 'use_ssl': false,
|
34 | 'globals': {
|
35 | 'waitForConditionTimeout': 10000,
|
36 | 'asyncHookTimeout': 100000
|
37 | },
|
38 | 'screenshots': {
|
39 | 'enabled': false,
|
40 | 'path': ''
|
41 | },
|
42 | 'desiredCapabilities': {
|
43 | 'browserName': 'firefox',
|
44 | 'javascriptEnabled': true,
|
45 | 'acceptSslCerts': true,
|
46 | 'build': 'build-' + buildId,
|
47 | 'tunnel-identifier': 'remix_tests_' + buildId
|
48 | }
|
49 | },
|
50 |
|
51 | 'chrome': {
|
52 | 'desiredCapabilities': {
|
53 | 'browserName': 'chrome',
|
54 | 'javascriptEnabled': true,
|
55 | 'acceptSslCerts': true,
|
56 | 'build': 'build-' + buildId,
|
57 | 'tunnel-identifier': 'remix_tests_' + buildId
|
58 | }
|
59 | },
|
60 |
|
61 | 'safari': {
|
62 | 'desiredCapabilities': {
|
63 | 'browserName': 'safari',
|
64 | 'javascriptEnabled': true,
|
65 | 'platform': 'OS X 10.11',
|
66 | 'version': '10.0',
|
67 | 'acceptSslCerts': true,
|
68 | 'build': 'build-' + buildId,
|
69 | 'tunnel-identifier': 'remix_tests_' + buildId
|
70 | }
|
71 | },
|
72 |
|
73 | 'ie': {
|
74 | 'desiredCapabilities': {
|
75 | 'browserName': 'internet explorer',
|
76 | 'javascriptEnabled': true,
|
77 | 'acceptSslCerts': true,
|
78 | 'platform': 'WIN8.1',
|
79 | 'version': '11',
|
80 | 'build': 'build-' + buildId,
|
81 | 'tunnel-identifier': 'remix_tests_' + buildId
|
82 | }
|
83 | },
|
84 |
|
85 | 'local': {
|
86 | 'launch_url': 'http://localhost',
|
87 | 'selenium_host': '127.0.0.1',
|
88 | 'selenium_port': 4444,
|
89 | 'silent': true,
|
90 | 'screenshots': {
|
91 | 'enabled': false,
|
92 | 'path': ''
|
93 | },
|
94 | 'desiredCapabilities': {
|
95 | 'browserName': 'firefox',
|
96 | 'javascriptEnabled': true,
|
97 | 'acceptSslCerts': true
|
98 | }
|
99 | }
|
100 | }
|
101 | }
|