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

Run instrumentation tests on Firebase Test Lab (Dev) #2215


* Initial draft with instrumentation tests.

* Obviously checkout the project and restore build caches before running instrumentation tests.

* Disable unrelated tests for faster iteration.

* Fix environment variable.

* Adjust APK paths

* Fix broken tests for DBPasswordTest.kt

* Comment out neglected tests that require more time to fix.

* Fix test by adding required theme.

* Update gitignore to have a general purpose directory for local scripts.

* Adjust firebase options.

* Fix upload paths.

* Comment out failing tests for now.

* Task for running screenshots only.

* Fix paths for screenshots

* Comment out failing tests.

* Test random bucket dir generation.

* Test random bucket dir generation.

* Test random bucket dir generation.

* Test random bucket dir generation.

* Test random bucket dir generation.

* Downgrade testing library, the alpha was just needed for API30 support.

* Comment out additional tests.

* Retry without orchestrator and data reset.

* Previous attempts worked, either the orchestrator or the clearData was the issue.

* The orchestrator is the issue...

* Debugging the test orchestrator...

* Adding previously commented out tests due to orchestrator likely being the cause.

* Disable additional flaky tests.

* Store artifacts and try to pull screenshots.

* Re-add previous jobs.

* Config syntax.

* Config syntax.

* Artifacts are not stored?

* Iterate path for storing artifacts.

* Try pulling directories

* Add missing slash

* Try api 28

* Specify screenshots path

* lint

* Api 28

* try sdcard

* Use sdcard path

* Create screenshots wrapper

* Add devices for other locales

* Use Pixel2 model

* Correct locale names

* Adapt code for both Friebase TL and Fastlane

* Use sdcard path

* Clean tests

* Move to ScreenShotter in all tests

* Add permissions rule

* lint

* Test on Android 10 devices

* Try physical device and locales list

* Remove pull flag sdcard seems already there

* Remove slash

* Try bucket name

* List screenshots only

* Use wildcards to list folders only

* Remvoe ''

* Specify folders individually

* Try DE only

* Put files into Circle CI Artifacta folder

* add -U option

* root bucket url

* add flame* to exclude  APKs

* Try suppressing error

* add -d

* Try suppress errors

* Avoid suppressing error

* Fix import

* lint

* Move to screenshot wrapper

* Run instrumentation tests on FTL

* Fix tests

* Extract test results

* Try -R and use Circle CI folder

* Upload test results only

* Add ~

* Store test results only

* Specify type instrumentation

* Specify file path explicitly

* Try path not file

* Reset changes in tests based on 1.12.x

* Reset changes based on 1.12

* Disable recording videos

* Simplify path and use gradle opitmizations

* move requires to workflow

* align

* Add colon

Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
parent 761e0bf7
No related branches found
No related tags found
Loading
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