Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Remove BootstrapSelectByLocator #10195

Merged
merged 1 commit into from
Jun 18, 2020
Merged

[1LP][RFR] Remove BootstrapSelectByLocator #10195

merged 1 commit into from
Jun 18, 2020

Conversation

tpapaioa
Copy link
Contributor

@tpapaioa tpapaioa commented Jun 16, 2020

The BootstrapSelectByLocator class in widgetastic_manageiq/hacks.py is currently only used by AssignmentsView, and the view works fine with the non-hacky BootstrapSelect class. This PR makes that change to AssignmentsView and removes the hacks.py file.

This change will get rid of the following repeated warnings in cfme.log:

2020-06-16 15:11:22,288 [W] [cfme] [AssignmentsView/selections[0]['Rate']/BootstrapSelectByLocator]: __locator__ of BootstrapSelectByLocator class returns a WebElement! (.cfme_venv/lib64/python3.7/site-packages/widgetastic/widget/base.py:341)

{{ pytest: -vv cfme/tests/intelligence/test_chargeback_assignments.py }}

@tpapaioa tpapaioa changed the title [WIPTEST] Remove BootstrapSelectByLocator [RFR] Remove BootstrapSelectByLocator Jun 16, 2020
@jarovo jarovo changed the title [RFR] Remove BootstrapSelectByLocator [1LP][RFR] Remove BootstrapSelectByLocator Jun 17, 2020
Copy link
Contributor

@jarovo jarovo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, it is used only on one place in our tests.

Copy link
Contributor

@digitronik digitronik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
Thanks for cleanup.

@digitronik digitronik merged commit daa120c into ManageIQ:master Jun 18, 2020
@tpapaioa tpapaioa deleted the bootstrap_selector_by_locator branch June 18, 2020 13:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants