Skip to content
Snippets Groups Projects
  1. Feb 03, 2021
    • Mohamed Metwalli's avatar
      Adjust Screenshots tests to reflect latest UI changes(EXPOSUREAPP-4878) (#2247) · c7982aac
      Mohamed Metwalli authored
      
      * Add bottom bar
      
      * Fix di
      
      * Adjust theme
      
      * Align content on top of bottom bar
      
      * Enhance findNavController
      
      * Adjust Bottom Bar
      
      * Remove diary card
      
      * Remove up button
      
      * lint
      
      * Adapt MD theme
      
      * Fix ui tests
      
      * Delete contact diary , handle onboarding
      
      * Remove x button
      
      * Show bottom nav only for Home and contact diary destinations
      
      * Only contact diary overview screen
      
      * Adjust alert dialog theme
      
      * update docs
      
      * Fix close button issue
      
      * Revert close button changes
      
      * Rename text resources
      
      * Make visibility logic flexible for future additions
      
      * Fix typo
      
      * Setup main activity tests
      
      * Add diary overview screenshot test
      
      * lint
      
      * Disable unmocking
      
      * Update Gemfile.lock
      
      * Contact diary onboarding's bottom bar behaviour
      
      * Update ContactDiaryOnboardingFragmentTest.kt
      
      * Refactor screenshots tests
      
      * Update Corona-Warn-App/src/main/res/values/strings.xml
      
      Co-authored-by: default avatarSabine Loss <44154356+SabineLoss@users.noreply.github.com>
      
      * Update contact_diary_overview_fragment.xml
      
      * Small refactoring
      
      * Remove un required gravity
      
      * Use accent colour
      
      * Move diary settings into vm
      
      * Update tests
      
      * Update MainActivityViewModelTest.kt
      
      * Fix styling in bottom sheet dialog
      
      * Keep default delay
      
      * klint
      
      * Keep default delay
      
      Co-authored-by: default avatarSabine Loss <44154356+SabineLoss@users.noreply.github.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      Unverified
      c7982aac
  2. Jan 12, 2021
  3. 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.
      Unverified
      b4f32951
Loading