From 1ce703dc2b2b9d2e8beff1ce194a507ce8e5289f Mon Sep 17 00:00:00 2001 From: Vasudeva Annam Date: Mon, 11 Nov 2024 18:25:53 +0000 Subject: [PATCH] Adding rerun, repeat, and change scripts --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 6bed50c..61f7824 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,9 @@ "local": "playwright test -j 1 --retries 0 --headed --project=chromium", "test:reg": "playwright test --project=chromiumheadless --grep-invert '@fail'", "test:smoke": "playwright test --project=chromiumheadless -g '@smoke'", + "rerun": "playwright test -j 1 --retries 0 --headed --project=chromium --last-failed", + "change": "playwright test -j 1 --retries 0 --headed --project=chromium --only-changed", + "repeat": "playwright test -j 1 --retries 0 --headed --project=chromium --repeat-each", "report": "playwright show-report playwright-report", "ui": "playwright test --project=chromiumheadless --ui-port 0", "trace": "playwright show-trace --port 0",