test: properly annotate Android tests for flakiness dashbboard (#6133)

This commit is contained in:
Andrey Lushnikov 2021-04-07 21:58:49 -05:00 committed by GitHub
parent bd0043b8cb
commit 632ff111d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,12 @@ export class AndroidEnv implements Env<AndroidTestArgs> {
async beforeEach(testInfo: TestInfo) {
// Use chromium screenshots.
testInfo.snapshotPathSegment = 'chromium';
testInfo.data = {
browserName: 'chromium',
platform: 'Android',
headful: true,
browserVersion: this._browserVersion,
};
return {
mode: 'default' as const,
isChromium: true,