
Contains test runner Docker file and a sample smoke test. Smoke test build PolyGerrit app, serves it locally and expects page title to be updated to the default value. Change-Id: I8ab2ca8a97830eefa1c697c2e51be82cbc1657c7
11 lines
265 B
Bash
Executable File
11 lines
265 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
bazel build //polygerrit-ui/app:polygerrit_ui
|
|
|
|
docker run --rm \
|
|
-p 5900:5900 \
|
|
-v `pwd`/polygerrit-ui/app/test/functional:/tests \
|
|
-v `pwd`/bazel-genfiles/polygerrit-ui/app:/app \
|
|
-it gerrit/polygerrit-functional:v1 \
|
|
/tests/test.js
|