pia-foss / mobile-android-legacy

Private Internet Access - Android VPN Client
MIT License
38 stars 14 forks source link

PIA-649 - Implement method to clear app state after each test #34

Closed kp-andrei-madescu closed 1 year ago

kp-andrei-madescu commented 1 year ago

Jira Ticket

N/A

Purpose

Implemented Android Test Orchestrator for the Instrumented tests, which allows us to ensure a clean app state after each test through testInstrumentationRunnerArguments clearPackageData: 'true'.

Moreover, some of the helpers and steps used in the Sign In tests have been refactored, by adding a default timeout period and changing the element we interact with, to reduce the flakiness of tests.

Related PR(s)

N/A