From e3c52e59fbf6348974992a3798ba6d6668d90533 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Mon, 24 Apr 2023 16:01:14 +0200 Subject: [PATCH] :robot: Add missing cypress test script Signed-off-by: Itxaka --- .github/cypress_tests.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 .github/cypress_tests.sh diff --git a/.github/cypress_tests.sh b/.github/cypress_tests.sh new file mode 100755 index 00000000..c1f497ca --- /dev/null +++ b/.github/cypress_tests.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Run agent in the background to bring the webui up +/usr/bin/kairos-agent webui & + +pushd internal/webui/public || exit 1 +# deps +npm ci +# cypress tests +npx cypress run --e2e -q +popd || exit \ No newline at end of file