From 0b3baa25019284ca003076de54d50b6eda9b1999 Mon Sep 17 00:00:00 2001 From: arrow2nd <44780846+arrow2nd@users.noreply.github.com> Date: Tue, 21 Nov 2023 12:51:23 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20=E3=82=AB=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=81=AEVRT=E3=82=92=E3=83=87=E3=82=B9=E3=82=AF=E3=83=88?= =?UTF-8?q?=E3=83=83=E3=83=97=E3=81=AE=E3=81=BF=E3=81=A7=E8=A1=8C=E3=81=86?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playwright.config.ts | 2 ++ tests/vrt/poem-card.spec.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 3a10fe6..b34dc1a 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -40,12 +40,14 @@ export default defineConfig({ }, { name: "android", + grepInvert: /@desktop/, use: { ...devices["Pixel 5"] } }, { name: "iphone", + grepInvert: /@desktop/, use: { ...devices["iPhone 13"] } diff --git a/tests/vrt/poem-card.spec.ts b/tests/vrt/poem-card.spec.ts index f200583..f35946a 100644 --- a/tests/vrt/poem-card.spec.ts +++ b/tests/vrt/poem-card.spec.ts @@ -46,7 +46,7 @@ const poems: Poem[] = [ } ]; -test("カードのレイアウトが変化していない", async ({ shinyPoems }) => { +test("カードのレイアウトが変化していない @desktop", async ({ shinyPoems }) => { const { page } = shinyPoems; // 検索結果を上書き