Chore: Install Playwright deps manually (#86008)

* install deps manually

* use ubuntu image

* regenerate drone file

* use node bookworm image

* get node major version from variable and wait for grafana server to be ready
This commit is contained in:
Erik Sundell
2024-04-15 14:19:37 +02:00
committed by GitHub
parent 6fb13842a5
commit ad8d505d81
3 changed files with 13 additions and 10 deletions
+3 -2
View File
@@ -853,12 +853,13 @@ def playwright_e2e_tests_step():
"PROV_DIR": "/grafana/scripts/grafana-server/tmp/conf/provisioning",
},
"name": "playwright-plugin-e2e",
"image": images["playwright"],
"image": images["node_deb"],
"depends_on": [
"grafana-server",
],
"commands": [
"sleep 10s", # it seems sometimes that grafana-server is not actually ready when the step starts, so waiting for a few seconds before running the tests
"npx wait-on@7.0.1 http://$HOST:$PORT",
"yarn playwright install --with-deps chromium",
"yarn e2e:playwright",
],
}