From f3c57b8e5d05a79213ececbf98b628d70f4b743b Mon Sep 17 00:00:00 2001 From: Doehyun Baek Date: Tue, 29 Nov 2022 08:53:41 +0900 Subject: [PATCH] Add e2e tests to ci --- .github/workflows/e2e.yml | 27 +++++++++++++++++++++++++++ client | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/e2e.yml diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml new file mode 100644 index 0000000000..41554704e6 --- /dev/null +++ b/.github/workflows/e2e.yml @@ -0,0 +1,27 @@ +name: e2e +on: + push: + pull_request: +env: + ESMETA_HOME: ${{ github.workspace }} +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + submodules: true + - name: Run e2e tests + run: | + sbt assembly + cd $ESMETA_HOME/client + npm ci + npx playwright install chromium --with-deps + npx playwright test --project=chromium + - uses: actions/upload-artifact@v3 + if: always() + with: + name: playwright-report + path: playwright-report/ + retention-days: 30 diff --git a/client b/client index 17d1808278..c13f2c5ce6 160000 --- a/client +++ b/client @@ -1 +1 @@ -Subproject commit 17d1808278cbe9038a3c5305ce347f101cb0af4e +Subproject commit c13f2c5ce64878976be0c5f1de50fa04e0158f08