Skip to content

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

test: fix android test (#22370)

Andrey Lushnikov90182a319dd1
diff --git a/tests/android/browser.spec.ts b/tests/android/browser.spec.ts
index b04672d0e4..54d4dc57a0 100644
--- a/tests/android/browser.spec.ts
+++ b/tests/android/browser.spec.ts
@@ -21,7 +21,8 @@ test.afterAll(async ({ androidDevice }) => {
});
test('androidDevice.model', async function({ androidDevice }) {
- expect(androidDevice.model()).toBe('sdk_gphone64_x86_64');
+ expect(androidDevice.model()).toContain('sdk_gphone');
+ expect(androidDevice.model()).toContain('x86_64');
});
test('androidDevice.launchBrowser', async function({ androidDevice }) {