Skip to content

Commit 407f598

Browse files
committed
move from pestphp to zenstruck/browser
1 parent 0a7abed commit 407f598

File tree

10 files changed

+2551
-3803
lines changed

10 files changed

+2551
-3803
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,8 @@ jobs:
144144
node-version: lts/*
145145
cache: "pnpm"
146146

147-
- name: Install Playwright and dependencies
148-
run: |
149-
pnpm install
150-
pnpm run tests:install
147+
- name: Install pnpm dependencies
148+
run: pnpm install
151149

152150
- name: Cache composer dependencies
153151
uses: actions/cache@v3
@@ -156,10 +154,10 @@ jobs:
156154
key: composer-${{ hashFiles('composer.lock') }}
157155

158156
- name: Run composer install
159-
run: composer install --no-progress --prefer-dist --no-interaction
157+
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
160158

161159
- name: Run Pest tests
162-
run: ./vendor/bin/pest -v --bail --colors=always
160+
run: ./vendor/bin/phpunit
163161

164162
- name: Upload test results
165163
if: always()

.gitignore

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
.svn
2-
node*
3-
vendor*
42
build
5-
6-
# Playwright
3+
vendor/
74
node_modules/
8-
/test-results/
9-
/playwright-report/
10-
/blob-report/
11-
/playwright/.cache/
12-
tests-browser-state.json
13-
tests/**/Screenshots
5+
.phpunit.result.cache
6+
var
7+
drivers
8+
driver

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"require-dev": {
33
"rector/rector": "^1.2",
4-
"pestphp/pest": "^4.1",
5-
"pestphp/pest-plugin-browser": "^4.1",
6-
"symfony/var-dumper": "^7.3"
4+
"symfony/var-dumper": "^7.3",
5+
"zenstruck/browser": "^1.9",
6+
"phpunit/phpunit": "^12",
7+
"symfony/panther": "^2.2",
8+
"dbrekelmans/bdi": "^1.4"
79
},
810
"autoload": {
911
"psr-4": {

0 commit comments

Comments
 (0)