Closed
Bug 914982
Opened 12 years ago
Closed 12 years ago
[Marionette] It will make B2G screen broken with _select() in certain long list in FTU
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 859264
People
(Reporter: wachen, Unassigned)
Details
When you start to test FTU by going thru the real FTU (not the FTU launched by settings app), if you try to use:
def _select(self, match_string):
self.marionette.switch_to_frame()
options = self.marionette.find_elements(By.CSS_SELECTOR, '#value-selector-container li')
close_button = self.marionette.find_element(By.CSS_SELECTOR, 'button.value-option-confirm')
# Loop options until we find the match
for li in options:
if li.text == match_string:
li.tap()
break
close_button.tap()
# Now back to app
self.marionette.switch_to_frame(self.app.frame)
when you try to select the country/city for time zone. The UI would be broken. For example, this does it. Just remember to select city out of the first few cities.
city_select = self.marionette.find_element(*self._timezone_city_locator)
city_select.tap()
self._select("Taipei")
Comment 1•12 years ago
|
||
Sounds like https://bugzilla.mozilla.org/show_bug.cgi?id=859264 ?
Reporter | ||
Comment 2•12 years ago
|
||
Oh, yes, that's the same bug!!!
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•