Add new Sharesheet CTS tests
Not every Sharesheet API is testable in an automated way.
Main constraints: UiAutomator can only tests what's visible and,
because of possible partner variations, we can't assume a scrolling
direction or point of origin. Can only test what appears after
launch without any user interaction. Minimum reasonable assumptions
were made in order to practically build the automated tests.
These tests do not give 100% coverage to API and API behaviors. To
reach full coverage CTS Verifier tests will need to be added.
atest run times on a Pixel 4 device are appx 2.8s and 2s respectively.
Bug: 148800975
Test: cts-tradefed run singleCommand cts -m CtsSharesheetTestCase
Test: atest CtsSharesheetTestCases
Change-Id: I3ed8401f9644a5c26278abea8a65fc3415651b7b
14 files changed