diff --git a/pages/component/editor/editor.test.js b/pages/component/editor/editor.test.js index 55f8b070fd138c0fc423833f6ba7386083cfb0b7..2e60a8f63e6f666d902249fa7dd1083ae7b16129 100644 --- a/pages/component/editor/editor.test.js +++ b/pages/component/editor/editor.test.js @@ -27,6 +27,7 @@ describe('editor.uvue', () => { it('editor-wrapper', async () => { expect(await editor.attribute("placeholder")).toBe("开始输入...") expect(await editor.attribute("read-only")).toBe("false") + expect(await program.screenshot()).toSaveImageSnapshot(); }); it('editor-toolbar', async () => { diff --git a/pages/pages.test.js b/pages/pages.test.js index 592057b3dd4dad339a3db2015429e2ca80ada65c..9d1f20ca56b41c02a4c1f2bd00d10056b3622826 100755 --- a/pages/pages.test.js +++ b/pages/pages.test.js @@ -317,7 +317,6 @@ if (isWeb) { '/pages/component/movable-view/movable-view', '/pages/component/label/label', '/pages/component/picker/picker', - '/pages/component/editor/editor', '/pages/API/get-image-info/get-image-info', '/pages/API/get-video-info/get-video-info', '/pages/API/make-phone-call/make-phone-call',