Skip to content

Commit

Permalink
Use grafana-bench:v0.3.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyeats committed Oct 28, 2024
1 parent 4fa0209 commit 004281e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/grafana-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
docker run --rm \
--network=host \
--volume="./:/home/bench/tests/" \
ghcr.io/grafana/grafana-bench:v0.2.4 test \
us-docker.pkg.dev/grafanalabs-global/docker-grafana-bench-prod/grafana-bench:v0.3.0-rc2 test \
--test-suite-base "/home/bench/tests/" \
--grafana-url "http://localhost:3000" \
--grafana-username "admin" \
--grafana-password "admin" \
--grafana-admin-user "admin" \
--grafana-admin-password "admin" \
--test-runner "playwright" \
--pw-prepare-cmd "yarn e2e:prepare" \
--pw-execute-cmd "yarn e2e" \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"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 --with-deps",
"e2e:prepare": "yarn install --frozen-lockfile && yarn playwright install",
"e2e:report": "yarn playwright show-report",
"e2e:ui": "yarn playwright test --ui",
"e2e": "playwright test",
Expand Down
5 changes: 0 additions & 5 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ export default defineConfig<PluginOptions>({
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: process.env.GRAFANA_URL || `http://localhost:${process.env.PORT || 3000}`,

grafanaAPICredentials: {
user: process.env.GRAFANA_USER || 'admin',
password: process.env.GRAFANA_PASSWORD || 'admin',
},

launchOptions: {
executablePath: process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH,
},
Expand Down

0 comments on commit 004281e

Please sign in to comment.