Skip to content

Commit

Permalink
Troubleshooting Selenium/Apache
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmollenhour committed Jan 11, 2023
1 parent 59d6343 commit d633e04
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/mtf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
--health-retries=3
selenium:
image: selenium/standalone-firefox
# options: --health-cmd "curl http://selenium:4444" --health-interval=5s
# options: --health-cmd "curl http://localhost:4444" --health-interval=5s
ports:
- 4444:4444

Expand Down Expand Up @@ -130,17 +130,17 @@ jobs:
env:
SELENIUM_PORT: ${{ job.services.selenium.ports[4444] }}
run: |
curl --no-progress-meter http://localhost:$SELENIUM_PORT/wd/hub
curl --no-progress-meter http://selenium:$SELENIUM_PORT/wd/hub
curl --no-progress-meter http://127.0.0.1:4444/wd/hub
curl --no-progress-meter http://localhost:4444/wd/hub
curl --no-progress-meter http://selenium:4444/wd/hub
curl --no-progress-meter http://localhost:$SELENIUM_PORT/wd/hub/status
- name: Run Magento Test Framework test suite
uses: GabrielBB/xvfb-action@v1
with:
run: vendor/phpunit/phpunit/phpunit
working-directory: ./dev/tests/functional
working-directory: ./dev/tests/functional
run: vendor/phpunit/phpunit/phpunit

# - name: Run Magento Test Framework test suite
# uses: GabrielBB/xvfb-action@v1
# with:
# run: vendor/phpunit/phpunit/phpunit
# working-directory: ./dev/tests/functional

- name: Publish test results
uses: EnricoMi/[email protected]
Expand Down

0 comments on commit d633e04

Please sign in to comment.