mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 13:30:24 +08:00
E2E: Run e2e tests on PRs and easy local isolated e2e grafana server setup & conf (#22772)
* e2e: Trying to get end-2-end tests to run on PRs * Probably need quotes here * Change back to machine * CI: only build amd64 docker * lowercase docker image name * Fixed docker image name * added end-to-end-test * Fixed paths * Added setup_remote_docker * Updated * Minor tweak * update * Testing * UpdateD# * Making some progress * Update * Updated * update * Updated * Updated * testing * Updated * Updated * Updated * Updated * updated * Changed image * Updated image * updated * Addd logging * trying one more thing * Fixed build-fast-frontend * Updated * Added devenv to end-to-end server setup * removed file * Updated * Minor change * Fixes * Updated workspace, and tried to make naming and paths compatible with master & release jobs * fixed syntax issue * Updated truth * Fixed path
This commit is contained in:
12
e2e/run-suite
Executable file
12
e2e/run-suite
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
. e2e/variables
|
||||
|
||||
echo -e "Waiting for grafana-server to finish starting"
|
||||
|
||||
timeout 200 bash -c 'until nc -z $0 $1; do sleep 1; done' localhost $PORT
|
||||
|
||||
echo -e "Starting Cypress scenarios"
|
||||
|
||||
env BASE_URL=http://localhost:$PORT yarn e2e-tests
|
||||
|
Reference in New Issue
Block a user