-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: e2e modular deprecation fixes + auth MFA modular fixes #8499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
If #8498 is merged before this I can rebase this on to it, then add a final coup-de-grace commit that turns on strict mode in the e2e suite |
otherwise it delegates to a method that warns of deprecation, because it was deprecated in namespace API, however for modular API `multiFactor` with specific parameters is the way to create a MultiFactorUser
this one had lots of API usage restructurings to match the JS reference / MFA guides
mechanical fixes grouped together for all the smaller-line-count packages
518257d
to
c8ddb5c
Compare
Android test was flaky and after ruminating I know why:
Ideally the flaky tests are fixed. But at minimum the strict mode + retries settings should be dis-entangled. I only did that to speed up discovery of e2e strict mode failures since retries made that very slow otherwise |
remove the entanglement with retries at same time - now that strict mode is on all the time and we are not actively finding new namespaced-API usage, we don't need to disable retries for strict mode as it should be more rare / less need for speed
c8ddb5c
to
db8b411
Compare
re-pushed with disentanglement of "strict mode" + "retry count" - left flaky tests for some other day |
Description
This is a huge package of commits aimed at cleaning up the entire e2e suite so there are no more deprecation warnings and it passes the suite in deprecation strict mode
With this and #8498 merged, the e2e suite looks modular-clean for the non-v8/namespaced tests
Related issues
This PR is also needed to get rid of messaging deprecations:
This docs PR prompted me to do this, since the auth API surface area had a gap for modular (
multiFactor
) and I wanted to verify my direction to @DoctorJohn that the direct imports I was prescribing actually existed:Release Summary
All commits are conventional and ready for semantic release
Checklist
Android
iOS
Other
(macOS, web)e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
The whole thing is prompted by testing and backed by testing - including all of the functionality changes
Think
react-native-firebase
is great? Please consider supporting the project with any of the below:React Native Firebase
andInvertase
on Twitter