initial commit

This commit is contained in:
boris
2025-09-30 09:24:25 +01:00
committed by boris
parent a783a12c97
commit c7770ea03b
4695 changed files with 525784 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?= "<?php\n" ?>
namespace <?= $namespace; ?>;
use Symfony\Component\Panther\PantherTestCase;
class <?= $class_name ?> extends PantherTestCase
{
public function testSomething(): void
{
$client = static::createPantherClient();
$crawler = $client->request('GET', '/');
<?php if ($web_assertions_are_available): ?>
$this->assertSelectorTextContains('h1', 'Hello World');
<?php else: ?>
$this->assertStringContainsString('Hello World', $crawler->filter('h1')->text());
<?php endif ?>
}
}