This repository was archived by the owner on Jul 29, 2024. It is now read-only.
File tree 4 files changed +16
-11
lines changed
4 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ var passingTests = [
9
9
'node built/cli.js spec/multiConf.js' ,
10
10
// 'node built/cli.js spec/altRootConf.js',
11
11
// 'node built/cli.js spec/inferRootConf.js',
12
+ // 'node built/cli.js spec/multiConf.js',
13
+ 'node built/cli.js spec/altRootConf.js' ,
14
+ 'node built/cli.js spec/inferRootConf.js' ,
12
15
// 'node built/cli.js spec/onCleanUpAsyncReturnValueConf.js',
13
16
// 'node built/cli.js spec/onCleanUpNoReturnValueConf.js',
14
17
// 'node built/cli.js spec/onCleanUpSyncReturnValueConf.js',
Original file line number Diff line number Diff line change 1
- describe ( 'finding elements when ng-app is nested' , function ( ) {
2
- beforeEach ( function ( ) {
3
- browser . get ( 'alt_root_index.html#/form' ) ;
1
+ describe ( 'finding elements when ng-app is nested' , ( ) => {
2
+ beforeEach ( async ( ) => {
3
+ await browser . get ( 'alt_root_index.html#/form' ) ;
4
4
} ) ;
5
5
6
- it ( 'should find an element by binding' , function ( ) {
7
- var greeting = element ( by . binding ( '{{greeting}}' ) ) ;
6
+ it ( 'should find an element by binding' , async ( ) => {
7
+ const greeting = element ( by . binding ( '{{greeting}}' ) ) ;
8
8
9
- expect ( greeting . getText ( ) ) . toEqual ( 'Hiya' ) ;
9
+ expect ( await greeting . getText ( ) ) . toEqual ( 'Hiya' ) ;
10
10
} ) ;
11
11
12
- it ( 'should find elements outside of angular' , function ( ) {
13
- var outside = element ( by . id ( 'outside-ng' ) ) ;
14
- var inside = element ( by . id ( 'inside-ng' ) ) ;
12
+ it ( 'should find elements outside of angular' , async ( ) => {
13
+ const outside = element ( by . id ( 'outside-ng' ) ) ;
14
+ const inside = element ( by . id ( 'inside-ng' ) ) ;
15
15
16
- expect ( outside . getText ( ) ) . toEqual ( '{{1 + 2}}' ) ;
17
- expect ( inside . getText ( ) ) . toEqual ( '3' ) ;
16
+ expect ( await outside . getText ( ) ) . toEqual ( '{{1 + 2}}' ) ;
17
+ expect ( await inside . getText ( ) ) . toEqual ( '3' ) ;
18
18
} ) ;
19
19
} ) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ var env = require('./environment.js');
3
3
// Tests for an Angular app where ng-app is not on the body.
4
4
exports . config = {
5
5
seleniumAddress : env . seleniumAddress ,
6
+ SELENIUM_PROMISE_MANAGER : false ,
6
7
7
8
framework : 'jasmine' ,
8
9
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ var env = require('./environment.js');
3
3
// Tests for an Angular app where ng-app is not on the body.
4
4
exports . config = {
5
5
seleniumAddress : env . seleniumAddress ,
6
+ SELENIUM_PROMISE_MANAGER : false ,
6
7
7
8
framework : 'jasmine' ,
8
9
You can’t perform that action at this time.
0 commit comments