提交 01f4a6b2 编写于 作者: Anne_LXM's avatar Anne_LXM

test(show-toast.test.js): 更新截图名称

上级 36e3504f
...@@ -49,7 +49,7 @@ describe('API-toast', () => { ...@@ -49,7 +49,7 @@ describe('API-toast', () => {
const iconText = await icons[i].text() const iconText = await icons[i].text()
await page.callMethod('toast1Tap') await page.callMethod('toast1Tap')
await page.waitFor(100); await page.waitFor(100);
await toScreenshot(`${iconText}`) await toScreenshot(`${iconText}-toast`)
} }
}) })
...@@ -83,7 +83,7 @@ describe('API-toast', () => { ...@@ -83,7 +83,7 @@ describe('API-toast', () => {
const positionsText = await positions[i].attribute('value') const positionsText = await positions[i].attribute('value')
await page.callMethod('toast2Tap') await page.callMethod('toast2Tap')
await page.waitFor(100); await page.waitFor(100);
await toScreenshot(`position-${positionsText}`) await toScreenshot(`toast-position-${positionsText}`)
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册