diff options
Diffstat (limited to 'spec/features/projects/work_items/work_item_children_spec.rb')
-rw-r--r-- | spec/features/projects/work_items/work_item_children_spec.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/features/projects/work_items/work_item_children_spec.rb b/spec/features/projects/work_items/work_item_children_spec.rb index 43a6b2771f6..843afb54dec 100644 --- a/spec/features/projects/work_items/work_item_children_spec.rb +++ b/spec/features/projects/work_items/work_item_children_spec.rb @@ -124,7 +124,9 @@ RSpec.describe 'Work item children', :js, feature_category: :team_planning do expect(page).to have_button('Add task', disabled: false) - click_button 'Add task' + send_keys :escape + + click_button('Add task') wait_for_all_requests @@ -162,7 +164,9 @@ RSpec.describe 'Work item children', :js, feature_category: :team_planning do wait_for_all_requests click_button task.title - click_button 'Add task' + send_keys :escape + + click_button('Add task') wait_for_all_requests end |