Skip to content

Commit 1d6ef1b

Browse files
authored
Update rpe_test.yml to run shut down e2e test (for linux only for now)
1 parent 3e55a46 commit 1d6ef1b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/rpe_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ jobs:
103103
if: matrix.os == 'ubuntu-latest' && always()
104104
run: find $HOME -type f -name "rpe.log" -exec cat {} +
105105

106-
106+
- name: E2E Playwright shut down test on Linux latest
107+
if: ${{ matrix.os == 'ubuntu-latest' }}
108+
run: |
109+
rm -rf $HOME/rpe.log && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test -- restart.test.js
110+
cat $HOME/rpe.log | tail -n 2 | grep "Shutting down server..."
111+
[[ $? != 0 ]] && exit 1
112+
107113
- name: Run ESLint only on ubuntu-latest
108114
if: ${{ matrix.os == 'ubuntu-latest' }}
109115
run: npx eslint src/

0 commit comments

Comments
 (0)