toContain('browser') ->and($lane['defaultEntryPoint'])->toBeFalse() ->and($files)->not->toBeEmpty() ->and($files->every(static fn (string $path): bool => str_starts_with($path, 'tests/Browser/')))->toBeTrue(); }); it('keeps the browser lane routed to the browser suite and out of the default loops', function (): void { expect(TestLaneManifest::buildCommand('browser'))->toContain('--group=browser') ->and(TestLaneManifest::buildCommand('browser'))->toContain('--testsuite=Browser'); foreach (TestLaneManifest::discoverFiles('fast-feedback') as $path) { expect($path)->not->toStartWith('tests/Browser/'); } foreach (TestLaneManifest::discoverFiles('confidence') as $path) { expect($path)->not->toStartWith('tests/Browser/'); } });