From 31900ebe87ca818333b834ecc9033b922ceb9f3e Mon Sep 17 00:00:00 2001
From: Adam Yeats <adam.yeats@grafana.com>
Date: Tue, 29 Oct 2024 14:49:03 +0000
Subject: [PATCH] Remove e2e:prepare script

---
 .github/workflows/grafana-bench.yml | 2 +-
 package.json                        | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/grafana-bench.yml b/.github/workflows/grafana-bench.yml
index 0a8f00e8..348078a0 100644
--- a/.github/workflows/grafana-bench.yml
+++ b/.github/workflows/grafana-bench.yml
@@ -58,7 +58,7 @@ jobs:
             --grafana-url "http://localhost:3000" \
             --log-level DEBUG \
             --pw-execute-cmd "yarn e2e" \
-            --pw-prepare-cmd "yarn e2e:prepare" \
+            --pw-prepare-cmd "yarn install --frozen-lockfile && yarn playwright install" \
             --test-env-vars "CI=true" \
             --test-runner "playwright" \
             --test-suite-base "/home/bench/tests/"
diff --git a/package.json b/package.json
index 7e49ee53..f2693435 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,6 @@
   "scripts": {
     "build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
     "dev": "webpack -w -c ./.config/webpack/webpack.config.ts --env development",
-    "e2e:prepare": "yarn install --frozen-lockfile && yarn playwright install",
     "e2e:report": "yarn playwright show-report",
     "e2e:ui": "yarn playwright test --ui",
     "e2e": "playwright test",