Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 18, 2025
1 parent a467e65 commit da494b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ jobs:
run: composer test-coverage
continue-on-error: ${{ vars.CI_TEST_UNIT_IGNORE_FAILURE == '1' }}

- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
install-chromedriver: true

- name: Start Chrome
run: chrome --no-sandbox --headless --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222&

- name: Run BDD tests
run: composer test-bdd
continue-on-error: ${{ vars.CI_TEST_BDD_IGNORE_FAILURE == '1' }}
Expand Down
4 changes: 2 additions & 2 deletions tests/behat/features/screenshot_behatcli.feature
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,11 @@ Feature: Screenshot context
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
browser_name: chrome
base_url: http://0.0.0.0:8888
base_url: http://127.0.0.1:8888
sessions:
default:
chrome:
api_url: "http://localhost:9222"
api_url: "http://127.0.0.1:9222"
download_behavior: allow
download_path: /download
validate_certificate: false
Expand Down

0 comments on commit da494b9

Please sign in to comment.