From 01f4a6b233a62fdee12d868d3ad16ba4deba324c Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Fri, 23 Aug 2024 15:19:03 +0800 Subject: [PATCH] =?UTF-8?q?test(show-toast.test.js):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=88=AA=E5=9B=BE=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/show-toast/show-toast.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/API/show-toast/show-toast.test.js b/pages/API/show-toast/show-toast.test.js index 9e868fd6..b68cb65f 100644 --- a/pages/API/show-toast/show-toast.test.js +++ b/pages/API/show-toast/show-toast.test.js @@ -49,7 +49,7 @@ describe('API-toast', () => { const iconText = await icons[i].text() await page.callMethod('toast1Tap') await page.waitFor(100); - await toScreenshot(`${iconText}`) + await toScreenshot(`${iconText}-toast`) } }) @@ -83,7 +83,7 @@ describe('API-toast', () => { const positionsText = await positions[i].attribute('value') await page.callMethod('toast2Tap') await page.waitFor(100); - await toScreenshot(`position-${positionsText}`) + await toScreenshot(`toast-position-${positionsText}`) } }) -- GitLab