test: fix android test (#22370)

For some reason, Android model changed from `sdk_gphone64_x86_64` to
`sdk_gphone_x86_64`.

Relax the test to test the model name & architecture.
This commit is contained in:
Andrey Lushnikov 2023-04-12 22:19:35 +00:00 committed by GitHub
parent 9411790712
commit 90182a319d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }) {