refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,24 @@
|
||||
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
|
||||
const isAndroid = platformInfo.startsWith('android')
|
||||
const isVapor = process.env.UNI_APP_X_DOM2 === 'true'
|
||||
|
||||
describe('long-rich-text', () => {
|
||||
if (!isAndroid || !isVapor) {
|
||||
it('skip non-android or non-vapor platform', () => {
|
||||
expect(1).toBe(1)
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
let page
|
||||
|
||||
beforeAll(async () => {
|
||||
page = await program.reLaunch('/pages/template/long-rich-text/long-rich-text')
|
||||
})
|
||||
|
||||
// 页面启动后立即截图,验证 rich-text 内 image 的首屏加载中状态。
|
||||
it('initial-image-loading-state', async () => {
|
||||
const image = await program.screenshot()
|
||||
expect(image).toSaveImageSnapshot()
|
||||
})
|
||||
})
|
||||
文件差异因一行或多行过长而隐藏
在新工单中引用
屏蔽一个用户