Project

General

Profile

Actions

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.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Tests
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

capybara-201607220658188501597120.png View capybara-201607220658188501597120.png 10.3 KB screenshot before successful click Ivan Necas, 07/22/2016 07:12 AM
capybara-201607220658141719223562.png View capybara-201607220658141719223562.png 42.6 KB screenshot before successful click Ivan Necas, 07/22/2016 07:12 AM
capybara-20160722065824262775113.png View capybara-20160722065824262775113.png 11.3 KB screenshot before failed click Ivan Necas, 07/22/2016 07:13 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #14350: Intermittent HostgroupJSTest.test_0001_submit updates taxonomy test failuresClosedDominic Cleal03/24/2016Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #14350: Intermittent HostgroupJSTest.test_0001_submit updates taxonomy test failures added
Actions #2

Updated by Ivan Necas over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Ivan Necas

Updated by Ivan Necas over 8 years ago

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.

Actions #4

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3671 added
Actions #5

Updated by Dominic Cleal almost 8 years ago

  • 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.

Actions

Also available in: Atom PDF