Repository navigation
test: Playwright 三引擎+手机视口冒烟进 CI - #174
Merged
Merged
Conversation
makewheels
force-pushed
the
feat-e2e-smoke
branch
from
August 23, 2026 15:23
5501c11 to
75aca4c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
用户要求确保各种浏览器/手机的兼容性。CI 引入 Playwright 冒烟:Chromium / Firefox / WebKit(≈Safari/iOS 渲染引擎)桌面引擎 + iPhone 13、Pixel 7 手机视口(触屏+移动 UA),每次 PR 自动跑,
deploy需等它通过。用例(不依赖后端)
本地 15/15 通过(5 个项目 × 3 用例)。
兼容性审计结论
navigator.sharetypeof 检查+复制回退、getUserMedia/MediaRecordertry-catch+提示、matchMedia可选链+旧版 addListener 回退集成细节
include限定 src 与 scripts,避免误跑 e2epnpm test:e2e本地可跑