Skip to content

Commit

Permalink
Issue #3893: Added waiting with check for textarea content.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaerter authored and svenoe committed Oct 24, 2024
1 parent dddbdd2 commit 2cc1ee8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/test/Selenium/Agent/AgentTicketProcessAttachment.t
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ $Selenium->RunTest(

$Selenium->find_element( "#Subject", 'css' )->send_keys('Test');
$Selenium->execute_script(q{ return CKEditorInstances['RichText'].setData('This is a test text'); });
$Selenium->WaitFor(
JavaScript => "return (\$('#RichText').val() == '<p>This is a test text</p>');"
);

# Submit.
try_ok {
Expand Down

0 comments on commit 2cc1ee8

Please sign in to comment.