@@ -39,7 +39,7 @@ describe('docs.angularjs.org', function () {
3939
4040
4141 it ( 'should change the page content when clicking a link to a service' , function ( ) {
42- browser . get ( '' ) ;
42+ browser . get ( 'build/docs/index.html ' ) ;
4343
4444 var ngBindLink = element ( by . css ( '.definition-table td a[href="api/ng/directive/ngClick"]' ) ) ;
4545 ngBindLink . click ( ) ;
@@ -51,33 +51,33 @@ describe('docs.angularjs.org', function () {
5151
5252
5353 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/' ) ;
5555 var pageBody = element ( by . css ( 'h1' ) ) ;
5656 expect ( pageBody . getText ( ) ) . toEqual ( 'angular.noop' ) ;
5757 } ) ;
5858
5959
6060 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' ) ;
6262 var pageBody = element ( by . css ( 'h1' ) ) ;
6363 expect ( pageBody . getText ( ) ) . toEqual ( 'angular.noop' ) ;
6464 } ) ;
6565
6666
6767 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/' ) ;
6969 var pageBody = element ( by . css ( 'h1' ) ) ;
7070 expect ( pageBody . getText ( ) ) . toEqual ( 'angular.noop' ) ;
7171 } ) ;
7272
7373
7474 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' ) ;
7676 expect ( element ( by . css ( '.minerr-errmsg' ) ) . getText ( ) ) . toEqual ( "Argument 'Missing' is not a function, got undefined" ) ;
7777 } ) ;
7878
7979 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' ) ;
8181 expect ( element ( by . css ( 'h1' ) ) . getText ( ) ) . toBe ( 'Oops!' ) ;
8282 } ) ;
8383
0 commit comments