File tree 2 files changed +29
-2
lines changed
2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ #End 2 End Testing (ngScenario)
2
+ To run the end-2-end tests against the application you use Karma or the ` runner.html ` page.
3
+
4
+ ## Starting the Web Server
5
+ In either case you will need the application to be running via the web-server.
6
+ From the root folder of the repository run:
7
+
8
+ ```
9
+ node scripts/web-server.js
10
+ ```
11
+
12
+ The application should now be available at ` http://localhost:8000/app/index.html `
13
+
14
+ ## Testing with Karma
15
+ Start the Karma test runner using the e2e configuration:
16
+
17
+ ```
18
+ karma start config/karma-e2e.conf.js
19
+ ```
20
+
21
+ ## Testing in a Browser
22
+ Browse directly to the e2e test runner page:
23
+
24
+ ```
25
+ http://localhost:8000/test/e2e/runner.html
26
+ ```
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< title > End2end Test Runner</ title >
5
5
< meta charset ="utf-8 ">
6
- < script src ="../lib/angular/angular-scenario.js " ng-autotest > </ script >
7
- < script src ="scenarios.js "> </ script >
6
+ < base href ="../.. ">
7
+ < script src ="app/lib/angular/angular-scenario.js " ng-autotest > </ script >
8
+ < script src ="test/e2e/scenarios.js "> </ script >
8
9
</ head >
9
10
< body >
10
11
</ body >
You can’t perform that action at this time.
0 commit comments