@@ -7,10 +7,10 @@ Feature: Browser Console Configuration
7
7
Given a configuration with:
8
8
"""
9
9
files = ['browser-console/log.js', 'browser-console/test.js'];
10
- browsers = ['PhantomJS '];
10
+ browsers = ['ChromeHeadlessNoSandbox '];
11
11
plugins = [
12
12
'karma-jasmine',
13
- 'karma-phantomjs -launcher'
13
+ 'karma-chrome -launcher'
14
14
];
15
15
"""
16
16
When I start Karma
@@ -44,10 +44,10 @@ Feature: Browser Console Configuration
44
44
Given a configuration with:
45
45
"""
46
46
files = ['browser-console/log.js', 'browser-console/test.js'];
47
- browsers = ['PhantomJS '];
47
+ browsers = ['ChromeHeadlessNoSandbox '];
48
48
plugins = [
49
49
'karma-jasmine',
50
- 'karma-phantomjs -launcher'
50
+ 'karma-chrome -launcher'
51
51
];
52
52
browserConsoleLogOptions = {
53
53
path: 'test/e2e/console.log',
@@ -68,10 +68,10 @@ Feature: Browser Console Configuration
68
68
Given a configuration with:
69
69
"""
70
70
files = ['browser-console/log.js', 'browser-console/test.js'];
71
- browsers = ['PhantomJS '];
71
+ browsers = ['ChromeHeadlessNoSandbox '];
72
72
plugins = [
73
73
'karma-jasmine',
74
- 'karma-phantomjs -launcher'
74
+ 'karma-chrome -launcher'
75
75
];
76
76
browserConsoleLogOptions = {
77
77
path: 'test/e2e/console.log',
@@ -92,10 +92,10 @@ Feature: Browser Console Configuration
92
92
Given a configuration with:
93
93
"""
94
94
files = ['browser-console/log.js', 'browser-console/test.js'];
95
- browsers = ['PhantomJS '];
95
+ browsers = ['ChromeHeadlessNoSandbox '];
96
96
plugins = [
97
97
'karma-jasmine',
98
- 'karma-phantomjs -launcher'
98
+ 'karma-chrome -launcher'
99
99
];
100
100
browserConsoleLogOptions = {
101
101
path: 'test/e2e/console.log',
@@ -115,10 +115,10 @@ Feature: Browser Console Configuration
115
115
Given a configuration with:
116
116
"""
117
117
files = ['browser-console/log.js', 'browser-console/test.js'];
118
- browsers = ['PhantomJS '];
118
+ browsers = ['ChromeHeadlessNoSandbox '];
119
119
plugins = [
120
120
'karma-jasmine',
121
- 'karma-phantomjs -launcher'
121
+ 'karma-chrome -launcher'
122
122
];
123
123
browserConsoleLogOptions = {
124
124
path: 'test/e2e/console.log',
@@ -128,17 +128,17 @@ Feature: Browser Console Configuration
128
128
When I start Karma
129
129
Then the file at test/e2e/console.log contains:
130
130
"""
131
- Phantom
131
+ HeadlessChrome
132
132
"""
133
133
134
134
Scenario : Execute logging program and disabling terminal
135
135
Given a configuration with:
136
136
"""
137
137
files = ['browser-console/log.js', 'browser-console/test.js'];
138
- browsers = ['PhantomJS '];
138
+ browsers = ['ChromeHeadlessNoSandbox '];
139
139
plugins = [
140
140
'karma-jasmine',
141
- 'karma-phantomjs -launcher'
141
+ 'karma-chrome -launcher'
142
142
];
143
143
browserConsoleLogOptions = {
144
144
path: 'test/e2e/console.log',
@@ -150,17 +150,17 @@ Feature: Browser Console Configuration
150
150
Then it passes with:
151
151
"""
152
152
.
153
- PhantomJS
153
+ HeadlessChrome
154
154
"""
155
155
156
156
Scenario : Execute logging program and disabling terminal
157
157
Given a configuration with:
158
158
"""
159
159
files = ['browser-console/log.js', 'browser-console/test.js'];
160
- browsers = ['PhantomJS '];
160
+ browsers = ['ChromeHeadlessNoSandbox '];
161
161
plugins = [
162
162
'karma-jasmine',
163
- 'karma-phantomjs -launcher'
163
+ 'karma-chrome -launcher'
164
164
];
165
165
browserConsoleLogOptions = {
166
166
terminal: false
@@ -170,5 +170,5 @@ Feature: Browser Console Configuration
170
170
Then it passes with:
171
171
"""
172
172
.
173
- PhantomJS
173
+ HeadlessChrome
174
174
"""
0 commit comments