Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Andrey Lushnikov632ff111d403
diff --git a/tests/config/androidEnv.ts b/tests/config/androidEnv.ts
index ae82377656..9d1f323eed 100644
--- a/tests/config/androidEnv.ts
+++ b/tests/config/androidEnv.ts
@@ -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,