From 47dff0f3db1ddbdec5408dad8f9f007b3f027239 Mon Sep 17 00:00:00 2001 From: Zachary Friedman Date: Tue, 17 Sep 2013 16:42:34 -0700 Subject: docs(tutorial/step_03): add info about karma-ng-scenario plug-in The existing documentation for this step could have people find themselves unable to run the `e2e-test.sh` script. This note added regarding `karma-ng-scenario` will minimize their confusion and allow people to run the script. Closes #4033 --- docs/content/tutorial/step_03.ngdoc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/content/tutorial/step_03.ngdoc') diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc index f351cc98..af888344 100644 --- a/docs/content/tutorial/step_03.ngdoc +++ b/docs/content/tutorial/step_03.ngdoc @@ -127,6 +127,9 @@ end-to-end tests! Use `./scripts/e2e-test.sh` script for that. End-to-end tests with unit tests, Karma will exit after the test run and will not automatically rerun the test suite on every file change. To rerun the test suite, execute the `e2e-test.sh` script again. +Note: You must ensure you've installed karma-ng-scenario prior to running the `e2e-test.sh` script. +You can do this by issuing `npm install karma-ng-scenario` into your terminal. + This test verifies that the search box and the repeater are correctly wired together. Notice how easy it is to write end-to-end tests in Angular. Although this example is for a simple test, it really is that easy to set up any functional, readable, end-to-end test. -- cgit v1.2.3