Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Coding Standards

# When to run tests.
on:
on:
pull_request:
types:
- opened
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/tests-backward-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,19 @@ jobs:
- name: Start nginx
run: sudo systemctl start nginx.service

# Install ChromeDriver 145. 146 results in tests hanging.
- name: Install Chrome and ChromeDriver 145
uses: browser-actions/setup-chrome@v2
with:
chrome-version: 145
install-chromedriver: true
id: setup-chrome

# Start chromedriver
- name: Start chromedriver
run: |
export DISPLAY=:99
chromedriver --port=9515 --url-base=/wd/hub &
${{ steps.setup-chrome.outputs.chromedriver-path }} --port=9515 --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1920x1080x24 > /dev/null 2>&1 & # optional

# Exchange API Keys and Secrets for OAuth Tokens.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run Tests

# When to run tests.
on:
on:
pull_request:
types:
- opened
Expand Down
3 changes: 3 additions & 0 deletions tests/EndToEnd.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ modules:
- "--proxy-bypass-list=*"
- "--no-sandbox"
- "--user-agent=%TEST_SITE_HTTP_USER_AGENT%"
- "--disable-renderer-backgrounding"
- "--disable-backgrounding-occluded-windows"
- "--js-flags=--max-old-space-size=512"
prefs:
download.default_directory: '%WORDPRESS_ROOT_DIR%'
lucatume\WPBrowser\Module\WPDb:
Expand Down