Skip to content

Commit

Permalink
Merge pull request #6291 from nanasess/fix-codeception
Browse files Browse the repository at this point in the history
ChromeDriver 128 よりポート番号が変更になったため、明示的に指定する
  • Loading branch information
ji-eunsoo authored Oct 9, 2024
2 parents 8dfeee5 + fb7569f commit 16f7157
Show file tree
Hide file tree
Showing 10 changed files with 182 additions and 219 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,11 @@ jobs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/deny-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,11 @@ jobs:
- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Prepare test
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,11 @@ jobs:
- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/e2e-test-throttling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,14 @@ jobs:
- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Install fonts
run: sudo apt install fonts-ipafont fonts-ipaexfont

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,14 @@ jobs:
- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Install fonts
run: sudo apt install fonts-ipafont fonts-ipaexfont

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,11 @@ jobs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down Expand Up @@ -254,14 +251,11 @@ jobs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down Expand Up @@ -406,14 +400,11 @@ jobs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down Expand Up @@ -561,14 +552,11 @@ jobs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/vaddy-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ jobs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: "VAddy: install"
working-directory: /tmp
Expand Down Expand Up @@ -134,7 +131,7 @@ jobs:
run: |
echo "APP_ENV=codeception" > .env
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/vaddy-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jobs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定

- name: "VAddy: install"
working-directory: /tmp
Expand Down Expand Up @@ -135,7 +132,7 @@ jobs:
run: |
echo "APP_ENV=codeception" > .env
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/vaddy/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ runs:

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master
with:
# ChromeDriverのバージョンを指定
chromedriver-version: '127.0.6533.119' # 特定のバージョンを指定


- name: Install fonts
shell: bash
Expand Down Expand Up @@ -142,7 +138,7 @@ runs:
run: |
echo "APP_ENV=codeception" > .env
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
chromedriver --url-base=/wd/hub --port=9515 &
echo ">>> Started chrome-driver"
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
Expand Down
Loading

0 comments on commit 16f7157

Please sign in to comment.