mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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:
parent
9411790712
commit
90182a319d
@ -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 }) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user