Skip to content

Commit ecec439

Browse files
committed
Add step to terminate Chrome processes in UI test workflow
This ensures no lingering Chrome or Chromium processes interfere with test execution, improving reliability. The step is added both before and during test execution for Ubuntu environments.
1 parent 6716a06 commit ecec439

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/uitests.yml

+9
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ jobs:
5757
max-attempts: 15
5858
retry-delay: 30s
5959

60+
# Kill any running Chrome processes
61+
- name: Kill Chrome Processes
62+
run: |
63+
pkill -f chrome || true
64+
pkill -f chromium || true
65+
echo "Chrome processes killed"
66+
6067
# Run tests
6168
- name: Tests
6269
if: matrix.os != 'ubuntu-latest'
@@ -66,6 +73,8 @@ jobs:
6673
if: matrix.os == 'ubuntu-latest'
6774
run: |
6875
export DISPLAY=:99.0
76+
pkill -f chrome || true
77+
pkill -f chromium || true
6978
./gradlew test -PexcludeTests="**/reference/**,**/linemarker/**,**/inspections/**,**/completion/**,**/actions/**"
7079
7180
# Uncomment if investigation is needed:

0 commit comments

Comments
 (0)