1 | 'use strict'
|
2 |
|
3 | var buildId = process.env.CIRCLE_BUILD_NUM || process.env.TRAVIS_JOB_NUMBER
|
4 |
|
5 | module.exports = {
|
6 | 'src_folders': ['test-browser/tests'],
|
7 | 'output_folder': 'reports',
|
8 | 'custom_commands_path': '',
|
9 | 'custom_assertions_path': '',
|
10 | 'page_objects_path': '',
|
11 | 'globals_path': '',
|
12 |
|
13 | 'test_settings': {
|
14 | 'default': {
|
15 | 'launch_url': 'http://ondemand.saucelabs.com:80',
|
16 | 'selenium_host': 'ondemand.saucelabs.com',
|
17 | 'selenium_port': 80,
|
18 | 'silent': true,
|
19 | 'username': 'chriseth',
|
20 | 'access_key': 'b781828a-9e9c-43d8-89d4-2fbb879595ca',
|
21 | 'use_ssl': false,
|
22 | 'globals': {
|
23 | 'waitForConditionTimeout': 10000,
|
24 | 'asyncHookTimeout': 100000
|
25 | },
|
26 | 'screenshots': {
|
27 | 'enabled': false,
|
28 | 'path': ''
|
29 | },
|
30 | 'desiredCapabilities': {
|
31 | 'browserName': 'firefox',
|
32 | 'javascriptEnabled': true,
|
33 | 'acceptSslCerts': true,
|
34 | 'build': 'build-' + buildId,
|
35 | 'tunnel-identifier': 'browsersolidity_tests_' + buildId
|
36 | }
|
37 | },
|
38 |
|
39 | 'chrome': {
|
40 | 'desiredCapabilities': {
|
41 | 'browserName': 'chrome',
|
42 | 'javascriptEnabled': true,
|
43 | 'acceptSslCerts': true,
|
44 | 'build': 'build-' + buildId,
|
45 | 'tunnel-identifier': 'browsersolidity_tests_' + buildId,
|
46 | 'chromeOptions': {
|
47 | 'args': ['window-size=2560,1440', 'start-fullscreen']
|
48 | }
|
49 | }
|
50 | },
|
51 |
|
52 | 'safari': {
|
53 | 'desiredCapabilities': {
|
54 | 'browserName': 'safari',
|
55 | 'javascriptEnabled': true,
|
56 | 'platform': 'macOS 10.13',
|
57 | 'version': '11.0',
|
58 | 'acceptSslCerts': true,
|
59 | 'build': 'build-' + buildId,
|
60 | 'tunnel-identifier': 'browsersolidity_tests_' + buildId
|
61 | }
|
62 | },
|
63 |
|
64 | 'ie': {
|
65 | 'desiredCapabilities': {
|
66 | 'browserName': 'internet explorer',
|
67 | 'javascriptEnabled': true,
|
68 | 'platform': 'Windows 10',
|
69 | 'acceptSslCerts': true,
|
70 | 'version': '11.103',
|
71 | 'build': 'build-' + buildId,
|
72 | 'tunnel-identifier': 'browsersolidity_tests_' + buildId
|
73 | }
|
74 | },
|
75 |
|
76 | 'local': {
|
77 | 'launch_url': 'http://localhost:8080',
|
78 | 'selenium_port': 4444,
|
79 | 'selenium_host': 'localhost',
|
80 | 'desiredCapabilities': {
|
81 | 'browserName': 'firefox',
|
82 | 'javascriptEnabled': true,
|
83 | 'acceptSslCerts': true
|
84 | }
|
85 | }
|
86 | }
|
87 | }
|