This repository was archived by the owner on Apr 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,21 @@ describe('angularHint', function() {
18
18
// });
19
19
20
20
it ( 'should have an inclusive mode' , function ( ) {
21
- browser . get ( 'http://localhost:8080/e2e/ inclusiveHint/' ) ;
21
+ browser . get ( 'inclusiveHint/' ) ;
22
22
expect ( element ( by . id ( 'title' ) ) . getText ( ) ) . toBe ( 'Inclusive Hint Example' ) ;
23
23
expect ( element ( by . id ( 'console' ) ) . getText ( ) ) . toContain ( 'Angular best practices are to manipulate the DOM in the view.' ) ;
24
24
expect ( element ( by . id ( 'console' ) ) . getText ( ) ) . not . toContain ( 'Directive' ) ;
25
25
} ) ;
26
26
27
27
it ( 'should have an exclusive mode' , function ( ) {
28
- browser . get ( 'http://localhost:8080/e2e/ exclusiveHint/' ) ;
28
+ browser . get ( 'exclusiveHint/' ) ;
29
29
expect ( element ( by . id ( 'title' ) ) . getText ( ) ) . toBe ( 'Exclusive Hint Example' ) ;
30
30
expect ( element ( by . id ( 'console' ) ) . getText ( ) ) . not . toContain ( 'Angular best practices are to manipulate the DOM in the view.' ) ;
31
31
expect ( element ( by . id ( 'console' ) ) . getText ( ) ) . toContain ( 'Directive' ) ;
32
32
} ) ;
33
33
34
34
it ( 'should not add modules if ng-hint is not included' , function ( ) {
35
- browser . get ( 'http://localhost:8080/e2e/ noHint/' ) ;
35
+ browser . get ( 'noHint/' ) ;
36
36
expect ( element ( by . id ( 'title' ) ) . getText ( ) ) . toBe ( 'No Hint Example' ) ;
37
37
expect ( element ( by . id ( 'console' ) ) . getText ( ) ) . not . toContain ( 'Angular best practices are to manipulate the DOM in the view.' ) ;
38
38
expect ( element ( by . id ( 'console' ) ) . getText ( ) ) . not . toContain ( 'Directives' ) ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
exports . config = {
4
+ baseUrl : 'http://localhost:8080/e2e/' ,
5
+
4
6
seleniumServerJar : './node_modules/protractor/selenium/selenium-server-standalone-2.42.2.jar' ,
5
7
6
8
capabilities : {
You can’t perform that action at this time.
0 commit comments