KasperskyLab / Kaspresso

Android UI test framework
https://kasperskylab.github.io/Kaspresso/
Apache License 2.0
1.81k stars 153 forks source link

Target 30 support #404

Closed AzamatCherchesov closed 1 year ago

AzamatCherchesov commented 2 years ago

Correct work with storage (migrate from Manage all external storage permission to Scoped storage)

Nikitae57 commented 2 years ago

Need to be careful with this. Whole kaspresso is built on using traditional file API.

Screen recording on Android 10+

Allure

We need to be able to include video recordings to allure reports. Allure reports are stored under /data/data directory. AFAIK, we can't configure allure reports path

Screenshoting

Useful info: https://medium.com/androiddevelopers/scope-storage-myths-ca6a97d7ff37

Nikitae57 commented 2 years ago

Linked to #407

Nikitae57 commented 2 years ago

We discussed the idea to put all artifacts into Documents folder since it's a public folder and quick experiment showed us that we could use it without restrictions. With this approach we have to keep in mind that allure stores reports to /data/data. Ideally we want to save reports to the same place as other artifacts. We decided that we'll copy reports from /data/data to Documents and cover it with an optional flag in Kaspresso builder