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:
@@ -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",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user