From 36e3504fbc0628d6dae989e4d9b7e80b501a4d7e Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Fri, 23 Aug 2024 13:31:20 +0800 Subject: [PATCH] =?UTF-8?q?test(editor.test.js):=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BE=8B=E4=B8=AD=E6=96=B0=E5=A2=9E=E6=88=AA=E5=9B=BE=E5=B9=B6?= =?UTF-8?q?=E5=8E=BB=E6=8E=89pages.test.js=E4=B8=AD=E7=9A=84=E6=88=AA?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/editor/editor.test.js | 1 + pages/pages.test.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/component/editor/editor.test.js b/pages/component/editor/editor.test.js index 55f8b070..2e60a8f6 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 592057b3..9d1f20ca 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', -- GitLab