Change spec to no longer look for query within title

pull/6214/head
Oliver Günther 7 years ago
parent d357e184e6
commit c91308f77e
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 7
      spec/features/work_packages/work_packages_page.rb

@ -102,10 +102,9 @@ class WorkPackagesPage
end
def select_query_from_dropdown(query)
within('.title-container') do
find('a').click
find('li', text: query.name).click
end
find('.wp-table--query-menu-link').click
expect(page).to have_selector('.ui-menu-item-wrapper', text: query.name, wait: 10)
find('.ui-menu-item-wrapper', text: query.name).click
end
def expect_query(query)

Loading…
Cancel
Save