Skip to content
Snippets Groups Projects
Unverified Commit e2eb813b authored by Mohamed Metwalli's avatar Mohamed Metwalli Committed by GitHub
Browse files

Create Instrumentation tests & screenshots for the Onboarding flow (EXPOSUREAPP-4478) #2015


* 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>
parent 6da1c841
No related branches found
No related tags found
No related merge requests found
Showing
with 340 additions and 34 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment