174 Commits
Author SHA1 Message Date
Mateusz Armatys fbe86914cc chore(device-migration): Update text and UI for QR code login. 2025-05-14 17:31:14 +02:00
Mateusz Armatys ef2f5eccc2 test: Add StringResourcesTest.
Based on VPN's code.
2024-12-02 14:27:36 +00:00
Denys Zelenchuk 92bec27c96 test: Reworked ProtonRule to work with multiple @SeedUser annotations.
Added @HiltAndroidTest in coreexample tests. Fixed majority of UI tests failures caused by DI.

Fixed mocked flavour issues.

Fixed subscription and hilt-tests. Updated app versions in api clients.

Refactored giltab config file to make it clear what tests belong where.
2024-09-30 13:56:24 +02:00
dkadrikj 2f46ce65ed chore: Remove binary compatibility validator. 2024-07-05 15:08:05 +02:00
Denys Zelenchuk 81e9e45c87 feat: implemented android client performance sdk with test examples 2024-06-13 10:08:05 +00:00
Mateusz Armatys e87ee6de51 test: Fix UI test for converting credential-less account into regular user.
Use email verification, which should be more stable in tests.
2024-03-27 17:18:21 +00:00
Neil Marietta 6601ba1676 test(user-settings): Added User Settings test module. 2024-03-22 15:59:13 +00:00
Neil Marietta c517bba3ee chore: Upgraded Kotlin to 1.9.22 (and needed dependencies). 2024-02-28 18:09:18 +00:00
Mateusz Armatys 736194e1c5 feat(auth-presentation): Show the new Welcome screen, if credential-less flag is enabled. 2024-01-29 16:21:58 +00:00
dkadrikj 16cfbbd31e fix(plan): Fix plan UI tests and fix CanUpgradeToPaid conditions. 2024-01-29 10:07:25 +01:00
Mateusz Armatys 2f9bceccb9 test: Configuration and fixes for hilt-tests. 2024-01-17 13:25:58 +00:00
dkadrikj 697639251f test(auth): Fix login UI tests. 2024-01-04 09:33:12 +00:00
dkadrikj 2e2bbea325 test(auth): Fix login UI tests. 2024-01-04 09:33:12 +00:00
dkadrikj 3c6746de12 fix(auth): Confirm password tests fix. 2023-12-06 09:07:46 +01:00
Mateusz Armatys 3a22078306 test: Narrow down the view matcher to avoid AmbiguousViewMatcherException. 2023-12-04 12:02:31 +01:00
Mateusz Armatys f55c941cbf chore(human-verification): Remove unused layouts and strings for HV2. 2023-11-28 12:21:40 +01:00
Mateusz Armatys 890a970b73 feat(auth-presentation): Add telemetry for signup-recovery screen. 2023-11-10 11:50:48 +01:00
Mateusz Armatys fdb6aa32f4 test(payment, plan): Fix plan UI tests for dynamic plans. 2023-10-20 13:46:22 +00:00
dkadrikj 8c622f0c6c feat(plan): Added Dynamic Plan Minimal UI tests. 2023-09-01 08:26:00 +00:00
Neil Marietta ebfa017f37 chore!: Upgraded AGP to 8.0.2 (+Java 17). 2023-07-04 16:22:38 +02:00
Neil Marietta 144ff648bd chore: Upgraded Kotlin to 1.8.10 (+Dagger 2.46.1, +Compose to 1.4.3, +AppCompat 1.6.1, +Lifecycle 2.6.1, +Robolectric 4.10.3). 2023-07-04 15:13:07 +02:00
Mateusz Armatys 3c4499d45f feat(account-recovery): Cancelling account recovery attempt. 2023-06-15 16:34:31 +00:00
Neil Marietta 162c4bc312 Removed unneeded files. 2023-05-31 11:07:45 +02:00
Mateusz Armatys 66c3d93f9b feat(auth): Update login screen.
- Add SSO button (VPN-only).
- Display Help button in top-right corner.
2023-05-24 12:31:49 +02:00
Mateusz Armatys 0eca3ff276 build: Rename proton extension name to protonBuild. 2023-05-09 12:10:17 +00:00
Mateusz Armatys 02a29d3160 build: Disable coverage in CoreExample and the top-level aggregating modules. 2023-05-04 11:07:23 +00:00
Neil Marietta f69a2e9849 test(auth): Added Minimal Sign In Tests. 2023-03-21 17:53:30 +00:00
Neil Marietta 1f78ab1955 test: Refactor Auth/HumanVerification/Payment/Report Robots/Tests. 2023-03-14 13:39:03 +01:00
Mateusz Armatys b36004193b test(auth): Fix TwoFaTests#backToLogin: wait before navigating back. 2023-03-10 13:19:44 +00:00
dkadrikj 9d48a1d915 feat(payment-iap): Check for user credits during the payments providers checks. 2023-02-14 16:10:25 +01:00
dkadrikj 060fc2755a feat(payment-iap): Remove the payment error when user cancelled the payment and set card as default provider when all providers are enabled. 2023-02-10 15:57:41 +01:00
Neil Marietta 9d2c3521ca test: Fixed Verify Snackbar in Espresso Test. 2022-12-22 16:53:28 +01:00
Mateusz Armatys a7bd167e0e ci: Add ToastingRunListener to mark the tests on Firebase video. 2022-12-21 11:53:55 +00:00
Mateusz Armatys 60e946c8f0 test: Fix login & signup tests.
- Add missing extra header in `ExternalAccountSignupTests`.
- Overwrite `ApplicationModule` in `InternalLoginWithAccountSetupTests`.
- Fix ChooseExternalEmailViewModelTest.
- Fix ChooseInternalEmailViewModelTest.
- Fix ChooseUsernameViewModelTest.
2022-12-13 15:56:48 +00:00
Neil Marietta 11e608dd94 refactor(auth): Split ChooseUsername, ChooseInternalEmail and ChooseExternalEmail. 2022-12-13 15:56:48 +00:00
Mateusz Armatys 342856a26f test(android-instrumented): Improvements for HV robots. 2022-12-13 15:56:48 +00:00
dkadrikj 6f951c7e6d feat(auth): EA UI changes. 2022-12-13 15:56:48 +00:00
Mateusz Armatys 17969c845a refactor(test-android): Remove runBlockingWithTimeout (use runTest instead). 2022-12-05 13:33:57 +00:00
Mateusz Armatys 623bd67948 refactor(test)!: API changes for various test helpers.
- If your test inherits `ArchTest` or `CoroutineTest`, apply a default delegate, e.g. `class MyClass: ArchTest by ArchTest()`. This is to ensure we can get a reference to the same object, which would not be possible with properties without a backing field.
- Remove `mainDispatcher`, `ioDispatcher` and `compDispatcher` from `CoroutinesTest` (use `coroutinesRule.dispatchers.<dispatcher>` instead).
- Change `TestDispatcherProvider` and `TestCoroutineScopeProvider` from objects into classes.
- Remove `TestDispatcherProvider.cleanupTestCoroutines` — not needed anymore when using `runTest`.
- Added `TestScope.flowTest` helper (`TurbineUtils.kt`) to run Turbine test inside an unconfined test dispatcher.
2022-12-05 13:33:57 +00:00
Mateusz Armatys f2c32ea638 test(human-verification): Fix and enable HV3 tests. 2022-11-22 16:47:38 +00:00
Mateusz Armatys 2bed2ea4ca chore(human-verification): Remove HV2. 2022-11-22 16:47:38 +00:00
Mateusz Armatys 44d0d89e0d test: Tests for logging in with an external account. 2022-11-16 17:09:43 +01:00
Mateusz Armatys 4023e0f064 test(coreexample, test-android-instrumented): Quark improvements.
- Move quark into a separate module.
- Parse the response when creating a new user.
- Add a method for adding user address.
- On CI, read the `TEST_INTERNAL_API_V4` (instead of the older `TEST_INTERNAL_API`).
2022-11-16 17:09:42 +01:00
Mateusz Armatys ae3d316c12 feat(util-kotlin): Add String.random() extension. 2022-11-16 17:08:55 +01:00
Neil Marietta 95cb1cf2ba test: Fixed SelectPlanRobot. 2022-10-26 08:50:52 +00:00
Mateusz Armatys 261e9e7990 test(coreexample): Run all mocked test on CI. 2022-10-21 14:34:53 +02:00
Mateusz Armatys 50c89ff8af test(coreexample): Add mocked UI tests for credit card payments. 2022-10-21 14:34:53 +02:00
dkadrikj be6164e070 test(coreexample): Add UI tests for GIAP. 2022-10-21 14:34:53 +02:00
Mateusz Armatys fb4a004df0 test(coreexample): Add MockTestRule which adds common configuration for tests with server mocks and hilt-testing. 2022-10-21 14:34:04 +02:00
Mateusz Armatys cb7e7779cc test(coreexample): UI tests for Google In App Purchases. 2022-10-21 14:34:04 +02:00