Skip to content

Commit

Permalink
Maintenance: Improve reply article testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
fliebe92 committed May 22, 2024
1 parent 2b885ec commit d8d655a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def assert_fields(type_label, internal)

assert_fields(type_label, internal)

find_editor('Text').type(new_text, click: false) if new_text
find_editor('Text').type(new_text) if new_text

find_autocomplete('To').search_for_option(new_to) if new_to.present?
find_field('Subject', visible: :all).input(new_subject) if new_subject.present?
Expand Down
4 changes: 2 additions & 2 deletions spec/system/apps/mobile_old/tickets/articles/create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def open_article_dialog

wait_for_test_flag('editor.signatureAdd')

find_editor('Text').type('This is a note!', click: false)
find_editor('Text').type('This is a note!')

find_autocomplete('To').search_for_option('zammad_test_to@zammad.com', gql_number: 1)
find_autocomplete('CC').search_for_option('zammad_test_cc@zammad.com', gql_number: 2)
Expand All @@ -144,7 +144,7 @@ def open_article_dialog

wait_for_test_flag('editor.signatureAdd')

find_editor('Text').type('This is a note!', click: false)
find_editor('Text').type('This is a note!')

find_autocomplete('To').search_for_option('zammad_test_to@zammad.com', gql_number: 1)

Expand Down

0 comments on commit d8d655a

Please sign in to comment.