26 lines
696 B
PHP
26 lines
696 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Admin;
|
|
|
|
use Symfony\Component\Process\Process;
|
|
use Tests\TestCase;
|
|
|
|
class UserManagementUiTest extends TestCase
|
|
{
|
|
public function test_user_management_pages_render_responsive_actions_and_protected_forms(): void
|
|
{
|
|
$process = new Process(['node', 'tests/Fixtures/user-management.mjs'], base_path());
|
|
$process->setTimeout(60);
|
|
$process->run();
|
|
|
|
$this->assertTrue(
|
|
$process->isSuccessful(),
|
|
$process->getOutput().$process->getErrorOutput(),
|
|
);
|
|
$this->assertStringContainsString(
|
|
'User management rendering checks passed.',
|
|
$process->getOutput(),
|
|
);
|
|
}
|
|
}
|