@@ -48,11 +48,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
4848 await driver . start ( 'chrome' ) ;
4949 } ) ;
5050
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 ( ) => {
5652 await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
5753 const widget = new IdPPage ( driver . webDriver ) ;
5854
@@ -84,10 +80,6 @@ browserDescribe('WebDriver redirect IdP test', driver => {
8480
8581 // Redirect works with middleware for now
8682 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-
9183 if ( driver . isCompatLayer ( ) ) {
9284 console . warn ( 'Skipping middleware tests in compat' ) ;
9385 this . skip ( ) ;
@@ -114,11 +106,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
114106 expect ( await driver . getUserSnapshot ( ) ) . to . be . null ;
115107 } ) ;
116108
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 ( ) => {
122110 // First, sign in anonymously
123111 const { user : anonUser } : UserCredential = await driver . call (
124112 AnonFunction . SIGN_IN_ANONYMOUSLY
@@ -140,11 +128,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
140128 expect ( user . email ) . to . eq ( '[email protected] ' ) ; 141129 } ) ;
142130
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 ( ) => {
148132 // Start with redirect
149133 await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
150134 const widget = new IdPPage ( driver . webDriver ) ;
@@ -172,11 +156,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
172156 expect ( second . providerData ) . to . eql ( first . providerData ) ;
173157 } ) ;
174158
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 ( ) => {
180160 // Start with redirect and a verified account
181161 await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
182162 const widget = new IdPPage ( driver . webDriver ) ;
@@ -211,11 +191,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
211191 ] ) ;
212192 } ) ;
213193
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 ( ) => {
219195 const { user : anonUser } : UserCredential = await driver . call (
220196 AnonFunction . SIGN_IN_ANONYMOUSLY
221197 ) ;
@@ -232,11 +208,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
232208 expect ( curUser . uid ) . not . to . eq ( anonUser . uid ) ;
233209 } ) ;
234210
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 ( ) => {
240212 const { user : anonUser } : UserCredential = await driver . call (
241213 AnonFunction . SIGN_IN_ANONYMOUSLY
242214 ) ;
@@ -254,11 +226,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
254226 expect ( curUser . isAnonymous ) . to . be . false ;
255227 } ) ;
256228
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 ( ) => {
262230 const { user : emailUser } : UserCredential = await driver . call (
263231 EmailFunction . CREATE_USER ,
264232@@ -281,11 +249,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
281249 expect ( curUser . providerData . length ) . to . eq ( 2 ) ;
282250 } ) ;
283251
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 ( ) => {
289253 const { user : emailUser } : UserCredential = await driver . call (
290254 EmailFunction . CREATE_USER ,
291255@@ -327,11 +291,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
327291 await driver . call ( CoreFunction . SIGN_OUT ) ;
328292 } ) ;
329293
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 ( ) => {
335295 // Sign in using pre-poulated user
336296 await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
337297
@@ -347,11 +307,7 @@ browserDescribe('WebDriver redirect IdP test', driver => {
347307 expect ( user . email ) . to . eq ( user1 . email ) ;
348308 } ) ;
349309
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 ( ) => {
355311 // Sign in using pre-poulated user
356312 await driver . callNoWait ( RedirectFunction . IDP_REDIRECT ) ;
357313
0 commit comments