From 9565232923bf1a9e032085cd171c7b6f180b7ce6 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 27 Jul 2020 19:50:28 +0900 Subject: [PATCH] fix typo --- playwright/.gitignore | 2 +- playwright/main.js | 2 +- playwright/{screenshot => screenshots}/.keep | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename playwright/{screenshot => screenshots}/.keep (100%) diff --git a/playwright/.gitignore b/playwright/.gitignore index 4863d3e..29e7b0f 100644 --- a/playwright/.gitignore +++ b/playwright/.gitignore @@ -1,2 +1,2 @@ /node_modules/ -/screenshot/ +/screenshots/ diff --git a/playwright/main.js b/playwright/main.js index 2d21b73..50a59cf 100644 --- a/playwright/main.js +++ b/playwright/main.js @@ -7,7 +7,7 @@ async function main() { const page = await context.newPage(); await page.goto("http://whatsmyuseragent.org/"); await page.screenshot({ - path: `screenshot/${ + path: `screenshots/${ process.env.PLAYWRIGHT_RUNNER || "example" }-${browserType}.png`, }); diff --git a/playwright/screenshot/.keep b/playwright/screenshots/.keep similarity index 100% rename from playwright/screenshot/.keep rename to playwright/screenshots/.keep