Skip to content

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

Merged
merged 12 commits into from
Apr 30, 2025

Conversation

mikehardy
Copy link
Collaborator

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

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

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:

Copy link

vercel bot commented Apr 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2025 1:02pm

@mikehardy mikehardy requested a review from MichaelVerdon April 28, 2025 21:36
@mikehardy
Copy link
Collaborator Author

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

@mikehardy
Copy link
Collaborator Author

Android test was flaky and after ruminating I know why:

  • the last commit I put in turns on strict mode
  • strict mode is tangled currently with retries - it lowers retries to zero
  • there are two legitimately flaky tests in Android that have never been fixed but fail first time many times

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
@mikehardy
Copy link
Collaborator Author

re-pushed with disentanglement of "strict mode" + "retry count" - left flaky tests for some other day

@mikehardy mikehardy added Workflow: Pending Merge Waiting on CI or similar and removed Needs Attention labels Apr 30, 2025
@mikehardy mikehardy merged commit 26c9e70 into main Apr 30, 2025
16 of 18 checks passed
@mikehardy mikehardy deleted the @mikehardy/e2e-deprecation branch April 30, 2025 15:49
@mikehardy mikehardy removed the Workflow: Pending Merge Waiting on CI or similar label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants