startng to fix dusk testing

This commit is contained in:
Mark Gregory
2026-06-19 12:53:27 +01:00
parent 2c2aa54b33
commit 2da7a62251
3 changed files with 11 additions and 7 deletions
@@ -98,11 +98,13 @@ final class HelpdeskTicketBrowserTest extends DuskTestCase
$this->openHelpdeskConversation($browser);
$browser->press('@reply-to-comment-'.$comment->id)
->waitFor('@reply-body-'.$comment->id)
->type('@reply-body-'.$comment->id, 'Nested browser response')
->press('@post-reply-'.$comment->id)
->waitFor('@helpdesk-ticket-show', 10);
$browser
->waitFor('@helpdesk-ticket-show', 10)
->click('@ticket-comment-editor')
->keys('@ticket-comment-editor', 'Nested browser test response')
->press('@post-comment')
->waitForText('Nested browser test response', 10)
->assertSee('Nested browser test response');
$this->openHelpdeskConversation($browser);