From 0de19b437153a76efb8f6259b250b57bc028c114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Thu, 5 Mar 2026 14:30:47 +0800 Subject: [PATCH] feat: add Android device configurations (Pixel 7, Galaxy S23) --- e2e/src/utils/devices.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/e2e/src/utils/devices.ts b/e2e/src/utils/devices.ts index dfc007a..34131cb 100644 --- a/e2e/src/utils/devices.ts +++ b/e2e/src/utils/devices.ts @@ -82,6 +82,20 @@ export const devices: Record = { isMobile: true, deviceScaleFactor: 3, }, + 'pixel-7': { + name: 'Google Pixel 7', + viewport: { width: 412, height: 915 }, + userAgent: 'Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36', + isMobile: true, + deviceScaleFactor: 2.625, + }, + 'samsung-galaxy-s23': { + name: 'Samsung Galaxy S23', + viewport: { width: 360, height: 780 }, + userAgent: 'Mozilla/5.0 (Linux; Android 13; SM-S911B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36', + isMobile: true, + deviceScaleFactor: 3, + }, }; export const desktopDevices = Object.entries(devices)