Description of problem: Bootstrap selects in Ansible/Credentials don't have any id. This makes it very difficult to write automation tests. In the same time in other parts of the UI Bootsrtap selects have "data-id" attribute. Version-Release number of selected component (if applicable): 5.8.0.17.20170525183055_6317a22 How reproducible: Always Steps to Reproduce: 1. Enable Embedded Ansible Role. 2. Navigate to Automation/Ansible/Credentials 3. Open the creation dialog of a credential. Actual results: "Credential type" and "Privilege Escalation" bootstrap selects don't have "data-id" attribute. Expected results: "button" html tag should contain "data-id" attribute. Additional info: How the element looks now: <button class="btn dropdown-toggle btn-default" type="button" data-toggle="dropdown" title="<Choose>" aria-expanded="false">
https://github.com/ManageIQ/manageiq-ui-classic/pull/1487
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/5fc0bfa53b9327726d350fecbb285515cc15388a commit 5fc0bfa53b9327726d350fecbb285515cc15388a Author: Milan Zazrivec <mzazrivec> AuthorDate: Mon Jun 5 16:22:00 2017 +0200 Commit: Milan Zazrivec <mzazrivec> CommitDate: Mon Jun 5 16:22:00 2017 +0200 Add IDs to ansible credential form selects https://bugzilla.redhat.com/show_bug.cgi?id=1456734 app/assets/javascripts/components/ansible-credential-options.js | 2 +- app/views/ansible_credential/_credential_form.html.haml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Verified in 5.9.0.2.20171010190026_0413a06. Bootstrap select elements have "data-id" and "id" attributes.