From 85e8d5ea6773e309aac5b4341e503f292e5c3825 Mon Sep 17 00:00:00 2001 From: Adir Date: Thu, 6 Nov 2014 20:42:59 +0200 Subject: [PATCH] docs(guide,tutorial): fix outdated Protractor API link Link to the gh-pages deployment of protractor docs, it's much easier on the eyes. Closes #9946 --- docs/content/guide/e2e-testing.ngdoc | 4 ++-- docs/content/tutorial/step_03.ngdoc | 2 +- docs/content/tutorial/step_08.ngdoc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/guide/e2e-testing.ngdoc b/docs/content/guide/e2e-testing.ngdoc index 7171ccdc5..24c8ba3f9 100644 --- a/docs/content/guide/e2e-testing.ngdoc +++ b/docs/content/guide/e2e-testing.ngdoc @@ -27,8 +27,8 @@ Protractor is a [Node.js](http://nodejs.org) program, and runs end to end tests written in JavaScript and run with node. Protractor uses [WebDriver](https://code.google.com/p/selenium/wiki/GettingStarted) to control browsers and simulate user actions. -For more information on Protractor, view [getting started](https://github.com/angular/protractor/blob/master/docs/getting-started.md) -or the [api docs](https://github.com/angular/protractor/blob/master/docs/api.md). +For more information on Protractor, view [getting started](http://angular.github.io/protractor/#/getting-started) +or the [api docs](http://angular.github.io/protractor/#/api). Protractor uses [Jasmine](http://jasmine.github.io/1.3/introduction.html) for its test syntax. As in unit testing, a test file is comprised of one or diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc index 4ba6a99f8..4025b520d 100644 --- a/docs/content/tutorial/step_03.ngdoc +++ b/docs/content/tutorial/step_03.ngdoc @@ -120,7 +120,7 @@ really is that easy to set up any functional, readable, end-to-end test. ### Running End to End Tests with Protractor Even though the syntax of this test looks very much like our controller unit test written with Jasmine, the end-to-end test uses APIs of [Protractor](https://github.com/angular/protractor). Read -about the Protractor APIs at https://github.com/angular/protractor/blob/master/docs/api.md. +about the Protractor APIs at http://angular.github.io/protractor/#/api. Much like Karma is the test runner for unit tests, we use Protractor to run end-to-end tests. Try it with `npm run protractor`. End-to-end tests are slow, so unlike with unit tests, Protractor diff --git a/docs/content/tutorial/step_08.ngdoc b/docs/content/tutorial/step_08.ngdoc index c49163c30..41fa6567e 100644 --- a/docs/content/tutorial/step_08.ngdoc +++ b/docs/content/tutorial/step_08.ngdoc @@ -184,7 +184,7 @@ You can now rerun `npm run protractor` to see the tests run. # Experiments -* Using the [Protractor API](https://github.com/angular/protractor/blob/master/docs/api.md), +* Using the [Protractor API](http://angular.github.io/protractor/#/api), write a test that verifies that we display 4 thumbnail images on the Nexus S details page.