Files
gerrit/polygerrit-ui/app/test/functional/run_functional.sh
Viktar Donich 7cbe1e493e Functional test suite starter
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
2018-02-13 20:12:30 -08:00

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