15
15
* limitations under the License.
16
16
*/
17
17
18
- // eslint-disable-next-line import/no-extraneous-dependencies
19
18
import {
20
19
OperationType ,
21
20
UserCredential ,
22
21
User ,
23
22
OAuthCredential
23
+ // eslint-disable-next-line import/no-extraneous-dependencies
24
24
} from '@firebase/auth-exp' ;
25
25
import { expect , use } from 'chai' ;
26
26
import { IdPPage } from './util/idp_page' ;
@@ -68,7 +68,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
68
68
) ;
69
69
70
70
// Then, link with redirect
71
- driver . callNoWait ( RedirectFunction . IDP_LINK_REDIRECT ) ;
71
+ await driver . callNoWait ( RedirectFunction . IDP_LINK_REDIRECT ) ;
72
72
const widget = new IdPPage ( driver . webDriver ) ;
73
73
await widget . pageLoad ( ) ;
74
74
await widget . clickAddAccount ( ) ;
@@ -85,7 +85,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
85
85
86
86
it ( 'can be converted to a credential' , async ( ) => {
87
87
// Start with redirect
88
- driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
88
+ await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
89
89
const widget = new IdPPage ( driver . webDriver ) ;
90
90
await widget . pageLoad ( ) ;
91
91
await widget . clickAddAccount ( ) ;
@@ -113,7 +113,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
113
113
114
114
it ( 'handles account exists different credential errors' , async ( ) => {
115
115
// Start with redirect and a verified account
116
- driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
116
+ await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
117
117
const widget = new IdPPage ( driver . webDriver ) ;
118
118
await widget . pageLoad ( ) ;
119
119
await widget . clickAddAccount ( ) ;
0 commit comments