Bug #15785
closed
Intermittent HostgroupJSTest.test_0001_submit updates taxonomy test failures
Added by Dominic Cleal over 8 years ago.
Updated almost 8 years ago.
Description
Further test failures (since #14350) are still occurring in HostgroupJSTest.test_0001_submit updates taxonomy
at this location:
HostgroupJSTest.test_0001_submit updates taxonomy
Took 33 sec.
Capybara::ElementNotFound: Unable to find xpath "//div[@id='ms-hostgroup_location_ids']//li/span[text() = 'loc475']"
test/integration/hostgroup_js_test.rb:42:in `select_from_list'
test/integration/hostgroup_js_test.rb:10:in `block in <class:HostgroupJSTest>' (Capybara::ElementNotFound)
/usr/local/rvm/gems/ruby-2.1.5@test_develop_pr_core-2/gems/capybara-2.7.1/lib/capybara/node/finders.rb:44
(at commit d163507797c5d9c20249aa4d858465cbb74be229)
Files
- Related to Bug #14350: Intermittent HostgroupJSTest.test_0001_submit updates taxonomy test failures added
- Status changed from New to Assigned
- Assignee set to Ivan Necas
I tried to investigate this one by taking screenshots immediately before the failure. It looks like it's possible
the page is not rendered completely before we try that. I will try adding `has_xpath?` with `:visible => true` assertion first before trying the
click to make sure it's loaded and visible.
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3671 added
- Status changed from Ready For Testing to Rejected
PR closed due to inactivity, but I don't think this is occurring any more, so closing.
Also available in: Atom
PDF