diff --git a/.github/workflows/codeception.yml b/.github/workflows/codeception.yml index b60697b7..3c1e177c 100644 --- a/.github/workflows/codeception.yml +++ b/.github/workflows/codeception.yml @@ -98,7 +98,9 @@ jobs: - name: Setup Chromium run: | - nohup $CHROMEWEBDRIVER/chromedriver --url-base=/wd/hub /dev/null 2>&1 & + export DISPLAY=:99 + chromedriver --url-base=/wd/hub & + sudo Xvfb -ac :99 -screen 0 1280x1024x24x24 > /dev/null 2>&1 & - name: Start Symfony Server run: | diff --git a/tests/_envs/github.yml b/tests/_envs/github.yml index 10c1347f..a87e262e 100644 --- a/tests/_envs/github.yml +++ b/tests/_envs/github.yml @@ -7,6 +7,6 @@ modules: wait: 1 capabilities: chromeOptions: - args: ['--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--window-size=1280,1024'] + args: ['--no-sandbox', '--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--window-size=1280,1024'] prefs: download.default_directory: '%TEST_BUNDLE_TEST_DIR%/_data/downloads' \ No newline at end of file