Skip to content
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

FR-18979 - Add tests #27

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft

FR-18979 - Add tests #27

wants to merge 17 commits into from

Conversation

alex-minaiev-frontegg
Copy link
Collaborator

@alex-minaiev-frontegg alex-minaiev-frontegg commented Dec 10, 2024

Set up a Frontegg account:

  1. Enable password Email sign on via Login Box;
  2. Enable Google Social logins via Login Box;
  3. Enable Apple Social logins via Login Box.

Set up environment:

  1. Set up patrol plugin:
    run:
patrol doctor

Then set up all failure items (all items should be green);
2. Add .patrol.env to /example/ folder of the project. Use /example/.patrol.env.example as an example;
3. Change fronteggDomain and fronteggClientId into /example/android/app/build.gradle if needed;
4. Change baseUrl and clientId into example/ios/Runner/Frontegg.plist if needed;

Set up Devices:

  1. Create Android emulator and iPhone emulator with last stable OS version(18.2 currently).
  2. Login into Google and Apple for the first time. Disable 2fa.

Run integration tests:

zsh run_integration_test.sh -a emulator-5554 -i 'iPhone 16 Pro Max' -t integration_test/src/specific_test.dart

Where:
-i - iOS device. Optional;
-a - Android device. Optional;
-t - Path to tests. Optional. Default value is 'integration_test/src/'.

@alex-minaiev-frontegg alex-minaiev-frontegg self-assigned this Dec 10, 2024
@frontegg-david frontegg-david changed the title Fr 18979 FR-18979 - Add tests Jan 2, 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.

1 participant