Commit Graph

195 Commits

Author SHA1 Message Date
Mateusz Armatys fe9951d990 test(user-recovery): Add minimal test for recovering user keys after password reset. 2024-05-15 16:37:13 +02:00
Artiom Košelev 0d7b5f9d8f feat: Configuration module improvements. 2024-04-09 06:37:20 +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
Artiom Košelev fa07a66916 chore: Added Configurator application. 2024-03-25 13:47:29 +00:00
Neil Marietta 6601ba1676 test(user-settings): Added User Settings test module. 2024-03-22 15:59:13 +00:00
Artiom Košelev bc727821fb feat: Added test rules package. 2024-03-12 11:54:09 +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
Neil Marietta 82be3754e6 feat: Added Custom Tabs support for LoginSso Activity. 2024-01-29 14:36:16 +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
Nicolas Mouchel 4f063142be chore(settings) Telemetry and CrashReports in Settings from user settings 2023-11-14 16:39:56 +00: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
Artiom Košelev bf0206d794 test: Fix QuarkCommand multiple OkHttpClient instances. 2023-07-31 08:24:15 +00:00
Mateusz Armatys 1af8ab6815 refactor(auth, user): Migrate sign-up metrics to Result API. 2023-07-10 11:48:59 +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
Neil Marietta 7bc0b95adb test: Added UnconfinedTestCoroutineScopeProvider. 2023-07-03 17:35:58 +02:00
Artiom Košelev 4bbd3e93dd chore: Minor quark comamnd fixes. 2023-06-29 15:45:22 +00:00
Mateusz Armatys 2744e870f2 feat(account-recovery): Implement observability metrics. 2023-06-23 18:36:14 +02:00
Artiom Košelev cadd572a61 chore: QuarkCommand improvements 2023-06-19 08:31:05 +00: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
Artiom Košelev 1e1d018f3f test: added Quark v2 2023-05-04 10:12:44 +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
Neil Marietta 201c591327 chore: Upgraded Libraries versions.
- AndroidX Activity: 1.6.1.
- AndroidX AppCompat: 1.5.1.
- AndroidX Collection: 1.2.0.
- AndroidX Compose: 1.3.2.
- AndroidX Compose Foundation: 1.3.1.
- AndroidX Compose Material: 1.3.1.
- AndroidX Compose Material3: 1.0.1.
- AndroidX ConstraintLayout: 2.1.4.
- AndroidX CoordinatorLayout: 1.2.0.
- AndroidX Core KTX: 1.9.0.
- AndroidX Espresso: 3.5.0.
- AndroidX Fragment: 1.5.5.
- AndroidX RecyclerView: 1.2.1.
- AndroidX Room: 2.4.3.
- AndroidX Test: 1.5.0.
- AndroidX Test Monitor: 1.6.0.
- AndroidX Test Orchestrator: 1.4.2.
- AndroidX Test UiAutomator: 2.3.0-alpha01.
- Dagger Hilt: 2.44.2.
- Detekt: 1.22.0.
- Google Tink: 1.7.0.
- Kotlin: 1.7.20.
- Kotlin Serialization: 1.4.1.
- Material Components For Android: 1.7.0.
- Mockk: 1.13.3.
- OkHttp: 4.10.0.
- Robolectric: 4.9.1.
- Store4: 4.0.5.
- Turbine: 0.12.1.
2022-12-21 19:08:00 +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
Lukas Makaravicius 7ac4c3fce4 test: Added Quark command for token expiration. 2022-12-13 14:52:14 +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 003f999a10 test: Improved UI tests.
- Run `payments` and `plans` tests from the same job. Those tests use `Quark.setPaymentMethods`, so it's better to run them sequentially, to avoid overwriting each other. Also, move `SelectPlanForIAPTests` and `SelectPlanTests` into `plans, since they also use `setPaymentMethods`.
- Fix `ExternalAccountSupportedLoginTests` - add missing header.
2022-11-30 17:07:25 +00:00