feat(KAN-20): unify dialogs feedback and protect ticket drafts
CI/CD / test_and_check_app (push) Successful in 4m48s
CI/CD / Publish immutable image (push) Skipped
CI/CD / Publish immutable image (pull_request) Canceled after 0s
CI/CD / test_and_check_app (pull_request) Canceled after 5s

This commit is contained in:
2026-09-10 09:26:12 +02:00
parent 718f6b991d
commit 7edd8daf49
27 changed files with 1793 additions and 329 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Tests\Feature;
use Symfony\Component\Process\Process;
use Tests\TestCase;
class FormFeedbackTest extends TestCase
{
public function test_feedback_states_and_request_failure_classification(): void
{
$process = new Process(['node', 'tests/Fixtures/form-feedback.mjs'], base_path());
$process->setTimeout(60);
$process->run();
$this->assertTrue($process->isSuccessful(), $process->getOutput().$process->getErrorOutput());
$this->assertStringContainsString('Form feedback behavior checks passed.', $process->getOutput());
}
}
@@ -248,6 +248,8 @@ class ProjectTicketControllerTest extends TestCase
*/
public function test_ticket_details_include_matching_branches_pull_requests_and_inaccessible_repository_links(): void
{
config()->set('inertia.ssr.enabled', false);
Http::preventStrayRequests();
Http::fake([
'https://git.example.test/api/v1/repos/core-team/kanbangit/branches*' => Http::response([