for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\Browser\Tests\Fixture;
use Zenstruck\Browser\Component;
/**
* @author Kevin Bond <[email protected]>
*/
final class TestComponent1 extends Component
{
public function assertTitle(string $expected): void
$this->browser()->assertSeeIn('h1', $expected);
}
protected function preActions(): void
$this->browser()->visit('/page1');
protected function preAssertions(): void
$this->browser()->assertOn('/page1');