From 37289ed6bd281567df9635b0c4330c272cb22475 Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Wed, 26 Jul 2023 12:54:54 +0530 Subject: [PATCH] enable playwright test on linux ci --- .github/workflows/nodejs.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 01cb8e95..22e58637 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -83,8 +83,14 @@ jobs: - name: Run E2E Tests if: runner.os != 'Linux' run: yarn run test:e2e + - name: Run E2E Tests on Linux + if: runner.os == 'Linux' + uses: GabrielBB/xvfb-action@v1.4 + with: + run: yarn run test:e2e + env: + SHELL: /bin/bash - name: Archive E2E test screenshot - if: runner.os != 'Linux' uses: actions/upload-artifact@v3 with: name: e2e