Actions
Bug #14865
closedIntermittent hosts index multiple actions.test_0001_show action buttons test failures
Description
The following test is failing intermittently:
HostJSTest::hosts index multiple actions.test_0001_show action buttons (from HostJSTest__hosts index multiple actions) Took 3 sec. Failed assertion, no message given. (Minitest::Assertion) /var/lib/workspace/workspace/test_develop/database/postgresql/ruby/2.2/slave/fast/test/integration/host_js_test.rb:228
I think the .checked? test is failing to wait, as it's executing in three seconds.
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/3476 added
Updated by Dominic Cleal over 8 years ago
Looks like there may be a similar issue to #14340 still. When it's still failing, the click for the checkbox is not in the normal position suggesting the element could be moving during page load.
On a failed test:
cookies=[{:name=>"test_user", :domain=>"127.0.0.1", :value=>"secret_admin", :expires=>nil, :path=>"/", :secure=>false, :httponly=>false}] updating counter on page load counter page load... finished click19={"position"=>{"x"=>80.5, "y"=>208.5}}
(Lines 2/3 show the host_checkbox function that runs on page load succeeded, and line 4 shows the clicking by Poltergeist of the select all checkbox.)
A successful run clicks differently:
cookies=[{:name=>"test_user", :domain=>"127.0.0.1", :value=>"secret_admin", :expires=>nil, :path=>"/", :secure=>false, :httponly=>false}] updating counter on page load counter page load... finished toggleCheck() toggleCheck(): checking host_ids_1 to true toggleCheck()... finished click13={"position"=>{"x"=>80.5, "y"=>197.5}}
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ce0562cc642476cf16c31245aae9ba8a44a68406.
Updated by Dominic Cleal over 8 years ago
- Translation missing: en.field_release set to 136
Actions