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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions cfme/intelligence/chargeback/assignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from cfme.utils.pretty import Pretty
from cfme.utils.update import Updateable
from widgetastic_manageiq import Table
from widgetastic_manageiq.hacks import BootstrapSelectByLocator


class AssignmentsAllView(ChargebackView):
Expand Down Expand Up @@ -48,14 +47,11 @@ def is_displayed(self):
assign_to = BootstrapSelect(id="cbshow_typ")
tag_category = BootstrapSelect(id='cbtag_cat')
docker_labels = BootstrapSelect(id='cblabel_key')

_table_locator = '//h3[contains(text(),"Selections")]/following-sibling::table'
_table_widget_locator = './/div[contains(@class, "bootstrap-select")]'

selections = Table(
locator=_table_locator,
column_widgets={'Rate': BootstrapSelectByLocator(locator=_table_widget_locator)},
assoc_column=0,
)
_column_widgets = {'Rate': BootstrapSelect(locator=_table_widget_locator)}
selections = Table(locator=_table_locator, column_widgets=_column_widgets, assoc_column=0)


class Assign(Updateable, Pretty, Navigatable):
Expand Down
15 changes: 0 additions & 15 deletions widgetastic_manageiq/hacks.py

This file was deleted.