@@ -48,11 +48,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
48
48
await driver . start ( 'chrome' ) ;
49
49
} ) ;
50
50
51
- it ( 'allows users to sign in' , async function ( ) {
52
- // Test is ignored for now as it fails.
53
- // TODO: Investigate and unskip the test.
54
- this . skip ( ) ;
55
-
51
+ it ( 'allows users to sign in' , async ( ) => {
56
52
await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
57
53
const widget = new IdPPage ( driver . webDriver ) ;
58
54
@@ -84,10 +80,6 @@ browserDescribe('WebDriver redirect IdP test', driver => {
84
80
85
81
// Redirect works with middleware for now
86
82
it ( 'is blocked by middleware' , async function ( ) {
87
- // Test is ignored for now as it fails.
88
- // TODO: Investigate and unskip the test.
89
- this . skip ( ) ;
90
-
91
83
if ( driver . isCompatLayer ( ) ) {
92
84
console . warn ( 'Skipping middleware tests in compat' ) ;
93
85
this . skip ( ) ;
@@ -114,11 +106,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
114
106
expect ( await driver . getUserSnapshot ( ) ) . to . be . null ;
115
107
} ) ;
116
108
117
- it ( 'can link with another account account' , async function ( ) {
118
- // Test is ignored for now as it fails.
119
- // TODO: Investigate and unskip the test.
120
- this . skip ( ) ;
121
-
109
+ it ( 'can link with another account account' , async ( ) => {
122
110
// First, sign in anonymously
123
111
const { user : anonUser } : UserCredential = await driver . call (
124
112
AnonFunction . SIGN_IN_ANONYMOUSLY
@@ -140,11 +128,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
140
128
expect ( user . email ) . to . eq ( '[email protected] ' ) ;
141
129
} ) ;
142
130
143
- it ( 'can be converted to a credential' , async function ( ) {
144
- // Test is ignored for now as it fails.
145
- // TODO: Investigate and unskip the test.
146
- this . skip ( ) ;
147
-
131
+ it ( 'can be converted to a credential' , async ( ) => {
148
132
// Start with redirect
149
133
await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
150
134
const widget = new IdPPage ( driver . webDriver ) ;
@@ -172,11 +156,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
172
156
expect ( second . providerData ) . to . eql ( first . providerData ) ;
173
157
} ) ;
174
158
175
- it ( 'handles account exists different credential errors' , async function ( ) {
176
- // Test is ignored for now as it fails.
177
- // TODO: Investigate and unskip the test.
178
- this . skip ( ) ;
179
-
159
+ it ( 'handles account exists different credential errors' , async ( ) => {
180
160
// Start with redirect and a verified account
181
161
await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
182
162
const widget = new IdPPage ( driver . webDriver ) ;
@@ -211,11 +191,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
211
191
] ) ;
212
192
} ) ;
213
193
214
- it ( 'does not auto-upgrade anon accounts' , async function ( ) {
215
- // Test is ignored for now as it fails.
216
- // TODO: Investigate and unskip the test.
217
- this . skip ( ) ;
218
-
194
+ it ( 'does not auto-upgrade anon accounts' , async ( ) => {
219
195
const { user : anonUser } : UserCredential = await driver . call (
220
196
AnonFunction . SIGN_IN_ANONYMOUSLY
221
197
) ;
@@ -232,11 +208,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
232
208
expect ( curUser . uid ) . not . to . eq ( anonUser . uid ) ;
233
209
} ) ;
234
210
235
- it ( 'linking with anonymous user upgrades account' , async function ( ) {
236
- // Test is ignored for now as it fails.
237
- // TODO: Investigate and unskip the test.
238
- this . skip ( ) ;
239
-
211
+ it ( 'linking with anonymous user upgrades account' , async ( ) => {
240
212
const { user : anonUser } : UserCredential = await driver . call (
241
213
AnonFunction . SIGN_IN_ANONYMOUSLY
242
214
) ;
@@ -254,11 +226,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
254
226
expect ( curUser . isAnonymous ) . to . be . false ;
255
227
} ) ;
256
228
257
- it ( 'is possible to link with different email' , async function ( ) {
258
- // Test is ignored for now as it fails.
259
- // TODO: Investigate and unskip the test.
260
- this . skip ( ) ;
261
-
229
+ it ( 'is possible to link with different email' , async ( ) => {
262
230
const { user : emailUser } : UserCredential = await driver . call (
263
231
EmailFunction . CREATE_USER ,
264
232
@@ -281,11 +249,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
281
249
expect ( curUser . providerData . length ) . to . eq ( 2 ) ;
282
250
} ) ;
283
251
284
- it ( 'is possible to link with the same email' , async function ( ) {
285
- // Test is ignored for now as it fails.
286
- // TODO: Investigate and unskip the test.
287
- this . skip ( ) ;
288
-
252
+ it ( 'is possible to link with the same email' , async ( ) => {
289
253
const { user : emailUser } : UserCredential = await driver . call (
290
254
EmailFunction . CREATE_USER ,
291
255
@@ -327,11 +291,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
327
291
await driver . call ( CoreFunction . SIGN_OUT ) ;
328
292
} ) ;
329
293
330
- it ( 'a user can sign in again' , async function ( ) {
331
- // Test is ignored for now as it fails.
332
- // TODO: Investigate and unskip the test.
333
- this . skip ( ) ;
334
-
294
+ it ( 'a user can sign in again' , async ( ) => {
335
295
// Sign in using pre-poulated user
336
296
await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
337
297
@@ -347,11 +307,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
347
307
expect ( user . email ) . to . eq ( user1 . email ) ;
348
308
} ) ;
349
309
350
- it ( 'reauthenticate works for the correct user' , async function ( ) {
351
- // Test is ignored for now as it fails.
352
- // TODO: Investigate and unskip the test.
353
- this . skip ( ) ;
354
-
310
+ it ( 'reauthenticate works for the correct user' , async ( ) => {
355
311
// Sign in using pre-poulated user
356
312
await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
357
313
0 commit comments