Update add assignee selector in more specs

pull/10484/head
Benjamin Bädorf 3 years ago
parent cf3dda7b74
commit 153fbb03c7
No known key found for this signature in database
GPG Key ID: 069CA2D117AB5CCF
  1. 2
      spec/support/components/work_packages/relations.rb
  2. 2
      spec/support/pages/work_packages/work_packages_table.rb

@ -176,7 +176,7 @@ module Components
next if page.has_selector?('.wp-relations--children .ng-input input')
SeleniumHubWaiter.wait
find('.wp-inline-create--reference-link', text: I18n.t('js.relation_buttons.add_existing_child')).click
find('[data-qa-selector="op-wp-inline-create-reference"]', text: I18n.t('js.relation_buttons.add_existing_child')).click
# Security check to be sure that the autocompleter has finished loading
page.find '.wp-relations--children .ng-input input'

@ -134,7 +134,7 @@ module Pages
# there is a delay on travis where inline create can be clicked.
sleep 3
container.find('.wp-inline-create--add-link').click
container.find('[data-qa-selector="op-wp-inline-create"]').click
expect(container).to have_selector('.wp-inline-create-row', wait: 10)
end

Loading…
Cancel
Save