fixed issue with disk test, now with correct fix for redirection after creation

This commit is contained in:
Mark Gregory
2026-06-25 12:04:01 +01:00
parent 9564676ed3
commit 85e8d96655
7 changed files with 56 additions and 18 deletions
@@ -34,12 +34,11 @@ final class HelpdeskTicketBrowserTest extends DuskTestCase
$this->setHelpdeskSelect($browser, 'team_id', $fixtures['team']->id);
$this->setHelpdeskSelect($browser, 'project_id', $fixtures['project']->id);
$browser->pause(500)
->press('@ticket-create-submit')
->waitFor('@helpdesk-ticket-index', 10)
->assertSee($subject)
->assertSee('High')
->assertSee('Support');
$browser->press('@ticket-create-submit')
->waitUntilMissing('@helpdesk-ticket-create', 15)
->assertPathBeginsWith('/helpdesk/tickets/')
->waitForText($subject, 15)
->assertSee($subject);
});
}