Skip to content

Commit e7face4

Browse files
juliemrIgorMinar
authored andcommitted
chore(end2end): remove old references to the scenario runner and update to point to protractor
1 parent a29bff1 commit e7face4

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

docs/content/guide/dev_guide.e2e-testing.ngdoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
@name Developer Guide: E2E Testing
44
@description
55

6-
**If you're starting a new Angular project, you may want to look into
7-
using {@link https://github.com/angular/protractor Protractor}, as it is going to
8-
replace the current method of E2E Testing in the near future.**
6+
**Angular Scenario Runner is in maintenance mode - If you're starting a new Angular project,
7+
consider using {@link https://github.com/angular/protractor Protractor}.**
8+
9+
910

1011
As applications grow in size and complexity, it becomes unrealistic to rely on manual testing to
1112
verify the correctness of new features, catch bugs and notice regressions.

docs/content/misc/contribute.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ made available a local web server based on Node.js.
135135

136136
## Running the Unit Test Suite
137137

138-
We write unit and integration tests with Jasmine and execute them with Karma. To run all of the
138+
We write unit tests with Jasmine and execute them with Karma. To run all of the
139139
tests once on Chrome run:
140140

141141
```shell
@@ -178,11 +178,11 @@ grunt --help
178178

179179
## Running the End-to-end Test Suite
180180

181-
Simply run:
181+
Angular's end to end tests are run with Protractor. Simply run:
182182

183183
```shell
184184
grunt test:e2e
185185
```
186186

187-
This will start the webserver and run the tests.
187+
This will start the webserver and run the tests on Chrome.
188188

jenkins_build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ grunt test:docgen --no-color
3535
grunt test:unit --browsers $BROWSERS --reporters=dots,junit --no-colors --no-color
3636

3737
# END TO END TESTS #
38-
grunt test:e2e --browsers $BROWSERS_E2E --reporters=dots,junit --no-colors --no-color
3938
grunt test:protractor
4039

4140
# Promises/A+ TESTS #

lib/grunt/utils.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,12 @@ module.exports = {
136136
},
137137

138138

139-
updateWebdriver: function(done){
139+
updateWebdriver: function(done){
140+
if (process.env.TRAVIS) {
141+
// Skip the webdriver-manager update on Travis, since the browsers will
142+
// be provided remotely.
143+
done();
144+
}
140145
var p = spawn('node', ['node_modules/protractor/bin/webdriver-manager', 'update']);
141146
p.stdout.pipe(process.stdout);
142147
p.stderr.pipe(process.stderr);

0 commit comments

Comments
 (0)