feat(KAN-26): add reusable ticket presentations
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user