提交 b9f1c40b 编写于 作者: 雪洛's avatar 雪洛

test: UniElement的tagName、nodeName对齐安卓端

上级 a739ab83
...@@ -9,10 +9,6 @@ describe('$el', () => { ...@@ -9,10 +9,6 @@ describe('$el', () => {
it('$el元素可用', async () => { it('$el元素可用', async () => {
const el = await page.$('.tag-name') const el = await page.$('.tag-name')
if(process.env.uniTestPlatformInfo.startsWith('web')) { expect(await el.text()).toBe('VIEW')
expect(await el.text()).toBe('UNI-VIEW')
} else {
expect(await el.text()).toBe('VIEW')
}
}) })
}) })
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册