Expect the subject in the typeahead

This avoids failures when trying to select a text by its ID only.
pull/4945/head
Oliver Günther 8 years ago
parent bf66db6ef9
commit c01abe3efa
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      spec/features/work_packages/details/details_relations_spec.rb

@ -23,7 +23,7 @@ describe 'Work package relations tab', js: true, selenium: true do
# Enter the query and select the child
typeahead = container.find(".wp-relations--autocomplete")
select_typeahead(typeahead, query: query)
select_typeahead(typeahead, query: query, select_text: expected_text)
container.find('.wp-create-relation--save').click

Loading…
Cancel
Save