Skip to content

Commit

Permalink
chore(end2end): remove old references to the scenario runner and upda…
Browse files Browse the repository at this point in the history
…te to point to protractor
  • Loading branch information
juliemr authored and IgorMinar committed Feb 5, 2014
1 parent a29bff1 commit e7face4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
7 changes: 4 additions & 3 deletions docs/content/guide/dev_guide.e2e-testing.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
@name Developer Guide: E2E Testing
@description

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



As applications grow in size and complexity, it becomes unrealistic to rely on manual testing to
verify the correctness of new features, catch bugs and notice regressions.
Expand Down
6 changes: 3 additions & 3 deletions docs/content/misc/contribute.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ made available a local web server based on Node.js.

## Running the Unit Test Suite

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

```shell
Expand Down Expand Up @@ -178,11 +178,11 @@ grunt --help

## Running the End-to-end Test Suite

Simply run:
Angular's end to end tests are run with Protractor. Simply run:

```shell
grunt test:e2e
```

This will start the webserver and run the tests.
This will start the webserver and run the tests on Chrome.

1 change: 0 additions & 1 deletion jenkins_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ grunt test:docgen --no-color
grunt test:unit --browsers $BROWSERS --reporters=dots,junit --no-colors --no-color

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

# Promises/A+ TESTS #
Expand Down
7 changes: 6 additions & 1 deletion lib/grunt/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,12 @@ module.exports = {
},


updateWebdriver: function(done){
updateWebdriver: function(done){
if (process.env.TRAVIS) {
// Skip the webdriver-manager update on Travis, since the browsers will
// be provided remotely.
done();
}
var p = spawn('node', ['node_modules/protractor/bin/webdriver-manager', 'update']);
p.stdout.pipe(process.stdout);
p.stderr.pipe(process.stderr);
Expand Down

0 comments on commit e7face4

Please sign in to comment.