chore: Introduce Pest browser testing for the framework (#18857)

* chore: Introduce Pest browser testing for the framework

* cs

* fix tests

* fix

* Update tags-input.blade.php
This commit is contained in:
Dan Harrin
2026-01-04 22:07:21 +00:00
committed by GitHub
parent c67459de2f
commit e5c1be713d
37 changed files with 2187 additions and 75 deletions
+1
View File
@@ -51,6 +51,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "pestphp/pest:${{ matrix.pest }}" "pestphp/pest-plugin-laravel:${{ matrix.pest-plugin-laravel }}" --no-interaction --no-update
if [ "${{ matrix.php }}" = "8.2" ]; then composer remove pestphp/pest-plugin-browser --dev --no-interaction --no-update; fi
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Run PHPStan
run: ./vendor/bin/phpstan
+12
View File
@@ -63,6 +63,18 @@ jobs:
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install npm dependencies
run: npm ci
- name: Install Playwright browsers
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npx playwright install --with-deps
- name: Wait for MySQL
if: matrix.db == 'mysql'
run: |