Skip to content

Commit 219d96e

Browse files
committed
wip
1 parent bc860a4 commit 219d96e

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ jobs:
164164
uses: actions/upload-artifact@v4
165165
with:
166166
name: test-results-php${{ matrix.php }}-wp${{ matrix.wordpress }}
167-
path: |
168-
tests/Browser/Screenshots
167+
path: var/browser
169168
retention-days: 30
170169

171170
- name: Show FrankenPHP logs

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"require-dev": {
33
"rector/rector": "^1.2",
4-
"symfony/var-dumper": "^7.3",
54
"zenstruck/browser": "^1.9",
65
"phpunit/phpunit": "^12",
76
"symfony/panther": "^2.2",

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,4 @@
1212
<extensions>
1313
<bootstrap class="Zenstruck\Browser\Test\BrowserExtension"/>
1414
</extensions>
15-
<php>
16-
<env name="KERNEL_CLASS" value="Tests\TestKernel"/>
17-
<env name="PANTHER_CHROME_BINARY" value="chromium"/>
18-
</php>
1915
</phpunit>

tests/Browser/BrowserTestCase.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33
namespace Tests\Browser;
44

55
use Symfony\Component\Panther\PantherTestCase;
6+
use Tests\TestKernel;
67
use Zenstruck\Browser\PantherBrowser;
78
use Zenstruck\Browser\Test\HasBrowser;
89

910
abstract class BrowserTestCase extends PantherTestCase
1011
{
1112
use HasBrowser;
1213

14+
protected static function getKernelClass(): string
15+
{
16+
return TestKernel::class;
17+
}
18+
1319
protected function myBrowser(): PantherBrowser
1420
{
1521
return $this->pantherBrowser(['external_base_uri' => 'http://localhost:8100']);

0 commit comments

Comments
 (0)