Skip to content

Commit fd58935

Browse files
author
DavertMik
committed
Merge branch '3.x' into feat/empty-run-suggest
2 parents a95d3af + 21b02eb commit fd58935

File tree

13 files changed

+477
-453
lines changed

13 files changed

+477
-453
lines changed

.github/workflows/webdriver.yml

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,30 @@ env:
1515

1616
jobs:
1717
build:
18-
1918
runs-on: ubuntu-latest
2019
strategy:
2120
matrix:
2221
node-version: [20.x]
2322

2423
steps:
25-
- run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:3.141.0
26-
- uses: actions/checkout@v4
27-
- name: Use Node.js ${{ matrix.node-version }}
28-
uses: actions/setup-node@v4
29-
with:
30-
node-version: ${{ matrix.node-version }}
31-
- uses: shivammathur/setup-php@v2
32-
with:
33-
php-version: 8.0
34-
- name: npm install
35-
run: |
36-
npm i --force
37-
env:
38-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
39-
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
40-
- name: start a server
41-
run: "php -S 127.0.0.1:8000 -t test/data/app &"
42-
- name: run unit tests
43-
run: ./node_modules/.bin/mocha test/helper/WebDriver_test.js --exit
44-
- name: run unit tests - no selenium server
45-
run: ./node_modules/.bin/mocha test/helper/WebDriver.noSeleniumServer_test.js --exit
46-
- name: run tests
47-
run: "./bin/codecept.js run -c test/acceptance/codecept.WebDriver.js --grep @WebDriver --debug"
48-
24+
- run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.27
25+
- uses: actions/checkout@v4
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
- uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: 8.0
33+
- name: npm install
34+
run: |
35+
npm i
36+
env:
37+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
38+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
39+
- name: start a server
40+
run: 'php -S 127.0.0.1:8000 -t test/data/app &'
41+
- name: run unit tests
42+
run: ./node_modules/.bin/mocha test/helper/WebDriver_test.js --exit
43+
- name: run tests
44+
run: './bin/codecept.js run -c test/acceptance/codecept.WebDriver.js --grep @WebDriver --debug'

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export default [
8080
'prefer-const': 0,
8181
'no-extra-semi': 0,
8282
'max-classes-per-file': 0,
83+
'no-return-await': 0,
8384
},
8485
},
8586
]

0 commit comments

Comments
 (0)