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