提交 0d3811b8 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

test: textarea

上级 062e0649
...@@ -29,7 +29,7 @@ describe('component-native-textarea', () => { ...@@ -29,7 +29,7 @@ describe('component-native-textarea', () => {
width, width,
height height
} = await textarea.size() } = await textarea.size()
expect(height).toBeLessThanOrEqual(150) expect(height).toBeLessThanOrEqual(200)
await page.setData({ await page.setData({
default_value: "1\n2\n3\n4\n5\n6", default_value: "1\n2\n3\n4\n5\n6",
auto_height_boolean: false auto_height_boolean: false
...@@ -39,7 +39,7 @@ describe('component-native-textarea', () => { ...@@ -39,7 +39,7 @@ describe('component-native-textarea', () => {
width, width,
height height
} = await textarea.size() } = await textarea.size()
expect(height).toEqual(150) expect(height).toEqual(200)
}) })
it("cursor-color", async () => { it("cursor-color", async () => {
await page.setData({ await page.setData({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册