This repository was archived by the owner on Jul 29, 2024. It is now read-only.
File tree 3 files changed +8
-6
lines changed 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- describe ( 'browser.restart' , function ( ) {
2
- it ( 'doesn\'t break ignoreSynchronization' , function ( ) {
3
- browser . get ( 'index.html#/polling' ) ;
4
- browser . restart ( ) ;
1
+ describe ( 'browser.restart' , ( ) => {
2
+ it ( 'doesn\'t break ignoreSynchronization' , async ( ) => {
3
+ await browser . get ( 'index.html#/polling' ) ;
4
+ await browser . restart ( ) ;
5
5
6
6
browser . ignoreSynchronization = true ;
7
7
// Get a non-angular page. It shouldn't fail if ignoreSynchronization is on.
8
- browser . get ( 'https://google.com/' ) ;
8
+ await browser . get ( 'https://google.com/' ) ;
9
9
} ) ;
10
10
11
- afterAll ( function ( ) {
11
+ afterAll ( ( ) => {
12
12
browser . ignoreSynchronization = false ;
13
13
} ) ;
14
14
} ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ exports.config = {
15
15
// 'basic/handling_spec.js',
16
16
// 'basic/mockmodule_spec.js',
17
17
// 'basic/navigation_spec.js',
18
+ // 'basic/restart_spec.js',
18
19
] ,
19
20
20
21
// Exclude patterns are relative to this directory.
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ exports.config = {
17
17
// 'basic/handling_spec.js'
18
18
// 'basic/mockmodule_spec.js',
19
19
// 'basic/navigation_spec.js',
20
+ // 'basic/restart_spec.js',
20
21
] ,
21
22
22
23
// Exclude patterns are relative to this directory.
You can’t perform that action at this time.
0 commit comments