20 lines
629 B
PHP
20 lines
629 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use Symfony\Component\Process\Process;
|
|
use Tests\TestCase;
|
|
|
|
class TicketPresentationsTest extends TestCase
|
|
{
|
|
public function test_ticket_cards_and_list_items_share_accessible_data_driven_behavior(): void
|
|
{
|
|
$process = new Process(['node', 'tests/Fixtures/ticket-presentations.mjs'], base_path());
|
|
$process->setTimeout(60);
|
|
$process->run();
|
|
|
|
$this->assertTrue($process->isSuccessful(), $process->getOutput().$process->getErrorOutput());
|
|
$this->assertStringContainsString('Ticket presentation behavior checks passed.', $process->getOutput());
|
|
}
|
|
}
|