chore(tooling): 对齐协作规范与 Playwright 运行配置
统一设备配置和浏览器启动入口,加入窗口焦点守卫,并按运行隔离报告和追踪文件。
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"browser": {
|
||||
"channel": "chrome",
|
||||
"desktopDevice": "Desktop Chrome",
|
||||
"mobileDevice": "Pixel 5",
|
||||
"locale": "zh-CN",
|
||||
"timezone": "Asia/Shanghai"
|
||||
},
|
||||
"viewports": {
|
||||
"desktop": [1920, 1080],
|
||||
"mobile": [360, 800],
|
||||
"tablet": [768, 1024],
|
||||
"laptop": [1024, 768],
|
||||
"hd": [1366, 768],
|
||||
"wxga": [1440, 900],
|
||||
"qhd": [2560, 1440],
|
||||
"uhd": [3840, 2160]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user