@@ -39,7 +39,7 @@ describe('docs.angularjs.org', function () {
39
39
40
40
41
41
it ( 'should change the page content when clicking a link to a service' , function ( ) {
42
- browser . get ( '' ) ;
42
+ browser . get ( 'build/docs/index.html ' ) ;
43
43
44
44
var ngBindLink = element ( by . css ( '.definition-table td a[href="api/ng/directive/ngClick"]' ) ) ;
45
45
ngBindLink . click ( ) ;
@@ -51,33 +51,33 @@ describe('docs.angularjs.org', function () {
51
51
52
52
53
53
it ( 'should be resilient to trailing slashes' , function ( ) {
54
- browser . get ( 'index-debug .html#!/api/ng/function/angular.noop/' ) ;
54
+ browser . get ( 'build/docs/ index.html#!/api/ng/function/angular.noop/' ) ;
55
55
var pageBody = element ( by . css ( 'h1' ) ) ;
56
56
expect ( pageBody . getText ( ) ) . toEqual ( 'angular.noop' ) ;
57
57
} ) ;
58
58
59
59
60
60
it ( 'should be resilient to trailing "index"' , function ( ) {
61
- browser . get ( 'index-debug .html#!/api/ng/function/angular.noop/index' ) ;
61
+ browser . get ( 'build/docs/ index.html#!/api/ng/function/angular.noop/index' ) ;
62
62
var pageBody = element ( by . css ( 'h1' ) ) ;
63
63
expect ( pageBody . getText ( ) ) . toEqual ( 'angular.noop' ) ;
64
64
} ) ;
65
65
66
66
67
67
it ( 'should be resilient to trailing "index/"' , function ( ) {
68
- browser . get ( 'index-debug .html#!/api/ng/function/angular.noop/index/' ) ;
68
+ browser . get ( 'build/docs/ index.html#!/api/ng/function/angular.noop/index/' ) ;
69
69
var pageBody = element ( by . css ( 'h1' ) ) ;
70
70
expect ( pageBody . getText ( ) ) . toEqual ( 'angular.noop' ) ;
71
71
} ) ;
72
72
73
73
74
74
it ( 'should display formatted error messages on error doc pages' , function ( ) {
75
- browser . get ( 'index-debug .html#!error/ng/areq?p0=Missing&p1=not%20a%20function,%20got%20undefined' ) ;
75
+ browser . get ( 'build/docs/ index.html#!error/ng/areq?p0=Missing&p1=not%20a%20function,%20got%20undefined' ) ;
76
76
expect ( element ( by . css ( '.minerr-errmsg' ) ) . getText ( ) ) . toEqual ( "Argument 'Missing' is not a function, got undefined" ) ;
77
77
} ) ;
78
78
79
79
it ( "should display an error if the page does not exist" , function ( ) {
80
- browser . get ( 'index-debug .html#!/api/does/not/exist' ) ;
80
+ browser . get ( 'build/docs/ index.html#!/api/does/not/exist' ) ;
81
81
expect ( element ( by . css ( 'h1' ) ) . getText ( ) ) . toBe ( 'Oops!' ) ;
82
82
} ) ;
83
83
0 commit comments