From 0d3811b82e69d4c4978decd1f2614170432b6fc3 Mon Sep 17 00:00:00 2001 From: taohebin Date: Wed, 24 Apr 2024 11:26:02 +0800 Subject: [PATCH] test: textarea --- pages/component/textarea/textarea.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/component/textarea/textarea.test.js b/pages/component/textarea/textarea.test.js index 2550e866..94055a6e 100644 --- a/pages/component/textarea/textarea.test.js +++ b/pages/component/textarea/textarea.test.js @@ -29,7 +29,7 @@ describe('component-native-textarea', () => { width, height } = await textarea.size() - expect(height).toBeLessThanOrEqual(150) + expect(height).toBeLessThanOrEqual(200) await page.setData({ default_value: "1\n2\n3\n4\n5\n6", auto_height_boolean: false @@ -39,7 +39,7 @@ describe('component-native-textarea', () => { width, height } = await textarea.size() - expect(height).toEqual(150) + expect(height).toEqual(200) }) it("cursor-color", async () => { await page.setData({ -- GitLab