зеркало из https://github.com/mozilla/eideticker.git
Bug 999189 - Improve wait for Marketplace to be loaded. r=wlachance
This commit is contained in:
Родитель
2030147819
Коммит
20fe7acb82
|
@ -52,9 +52,9 @@ class B2GMarketplaceTestMixin(object):
|
|||
expected.element_present(
|
||||
By.CSS_SELECTOR, 'iframe[src*="marketplace"]'))
|
||||
self.device.marionette.switch_to_frame(iframe)
|
||||
Wait(self.device.marionette).until(expected.element_displayed(
|
||||
Wait(self.device.marionette).until(expected.element_present(
|
||||
By.ID, 'site-header'))))
|
||||
Wait(self.device.marionette).until(
|
||||
lambda m: 'loaded' in m.find_element(
|
||||
By.TAG_NAME, 'body').get_attribute('class').split())
|
||||
|
||||
def prepare_app(self):
|
||||
self.launch_app()
|
||||
|
|
Загрузка…
Ссылка в новой задаче