Skip to content
Snippets Groups Projects
  1. Jan 25, 2021
  2. Jan 05, 2021
    • Mohamed Metwalli's avatar
      Create Instrumentation tests & screenshots for the Onboarding flow (EXPOSUREAPP-4478) #2015 · e2eb813b
      Mohamed Metwalli authored
      
      * Add tooling layout tag for better overview
      
      * Ignore error for ProtectedPermissions
      
      * Add instrumentation tests to capture screenshots in Onboarding flow
      
      * Specify java version to avoid assembling APK failure
      
      * Define custom annotation for tests
      
      * Use fastlane Screengrab
      
      * ignore screenshots folder
      
      * Remove redundant imports and rules
      
      * Add View assertion to make sure Fragment is already displaying its views to avoid capturing blank screenshots
      
      * List some configurations for fastlane
      
      * Add TODO for locale change
      
      * Allow timestamp suffix to have different screenshots names
      
      * Scroll and grab another screenshot in OnboardingFragment
      
      * Delete import
      
      * Filter tests using Screenshot annotation
      
      * Add locale change rule in UI tests
      
      * Limit screenshots only for DE locale
      
      * Enable screenshots for all locales
      
      * Enable screenshot test
      
      * lint cleaning
      
      * Use JavaVersion to specify java version
      
      * Add an inline function that defaults to AppTheme
      
      * Update dcos for launchFragmentInContainer2
      
      * lint
      
      * Define generic apk_path
      
      * Support cleaning device status bar before taking screenshot
      
      * Correct docs
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      e2eb813b
  3. Jan 04, 2021
  4. Dec 30, 2020
  5. Oct 07, 2020
    • Matthias Urhahn's avatar
      Introduce VM injection for home screen and enable screen testing... · b4f32951
      Matthias Urhahn authored
      Introduce VM injection for home screen and enable screen testing (EXPOSUREAPP-2946, EXPOSUREAPP-2948) (#1320)
      
      * Rename "MainFragment" to "HomeFragment"
      Add VM injection.
      Move initial logic into VM.
      
      TODO: Move more code, write more tests.
      
      * Additional refactoring, moving logic out of the Fragment.
      Moving code into their own encapsulated routines/components.
      Use composition to reuse TracingViewModel, SettingsViewModel and SubmissionViewModel
      
      * Introduce @AppContext annotation to prevent anyone mistaking it for something else.
      
      * Add VM to RiskDetailsFragment
      
      * Simplify nested viewmodels, here: TracingViewModel.kt
      
      * Add skeletons instrumentation test skeleton for single fragments with injection and mocking.
      
      * Address PR comments.
      
      * Introduce sealed events class, + some refactoring.
      
      * Make the linter happy.
      b4f32951
Loading