Skip to content

Commit

Permalink
test(auth): add MFA e2e (#9034)
Browse files Browse the repository at this point in the history
* feat(auth, android): add phone MFA to Android (#8998)

* chores: update format CI step to match local melos format

* chores: update format CI step to match local melos format

* feat(auth, android): mfa

* feat(auth, android): add MFA to phone options

* feat(auth, android): add phone MFA

* feat(auth, android): add MFA signin

* feat(auth): add documentation

* feat(auth, android): fix typings

* feat(auth, android): fix tests

* feat(auth, android): add input for phone number to example app

* feat(auth, android): add unenroll and getEnrolledFactors

* feat(auth, android): fix formatting

* feat(auth, android): fix formatting

* feat(ui, android): use mocktail for mocking dependencies

* feat(auth, android): fix analyze

* feat(auth): fix melos generate command

* Update packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_multi_factor.dart

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>

* feat(auth, ios): add phone MFA (#9008)

* chores: update format CI step to match local melos format

* chores: update format CI step to match local melos format

* feat(auth, android): mfa

* feat(auth, android): add MFA to phone options

* feat(auth, android): add phone MFA

* feat(auth, android): add MFA signin

* feat(auth, android): fix tests

* feat(auth, android): add input for phone number to example app

* feat(auth, android): add unenroll and getEnrolledFactors

* feat(auth, android): fix formatting

* feat(auth, android): fix formatting

* feat(auth, android): fix analyze

* feat(auth, ios): implement enroll

* feat(auth, ios): implement MFA for signin

* feat(auth, ios): add conditions to allow macos to build

* feat(auth, ios): add conditions to allow macos to build

* feat(auth, ios): fix ios build

* Update packages/firebase_auth/firebase_auth/ios/Classes/FLTFirebaseAuthPlugin.m

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>

* fix: fix rebase

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>

* feat(auth): fix android merge

* feat(auth): fix ios merge

* feat(auth): add e2e tests

* fix(auth): fix reintroduce tests

* feat(auth): add documentation

* feat(auth): add e2e tests

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
  • Loading branch information
Lyokone and Salakar committed Jul 12, 2022
1 parent d51ce0e commit cd679b7
Show file tree
Hide file tree
Showing 3 changed files with 420 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_driver/firebase_auth/firebase_auth_e2e.dart
Expand Up @@ -2,15 +2,15 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:drive/drive.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';

import 'package:drive/drive.dart';
import '../firebase_default_options.dart';

import 'test_utils.dart';
import 'firebase_auth_instance_e2e.dart' as instance_tests;
import 'firebase_auth_multi_factor_e2e.dart' as multi_factor_tests;
import 'firebase_auth_user_e2e.dart' as user_tests;
import 'test_utils.dart';

void setupTests() {
group('firebase_auth', () {
Expand Down Expand Up @@ -54,5 +54,6 @@ void setupTests() {

instance_tests.setupTests();
user_tests.setupTests();
multi_factor_tests.setupTests();
});
}

0 comments on commit cd679b7

Please sign in to comment.