changed element locator
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
This commit is contained in:
parent
747bac2738
commit
9248db8dfb
|
@ -194,7 +194,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
||||||
profile_view.help_button.click()
|
profile_view.help_button.click()
|
||||||
base_web_view = profile_view.faq_button.click()
|
base_web_view = profile_view.faq_button.click()
|
||||||
base_web_view.open_in_webview()
|
base_web_view.open_in_webview()
|
||||||
base_web_view.find_text_part('Build Status')
|
base_web_view.find_full_text('build_status')
|
||||||
base_web_view.click_system_back_button()
|
base_web_view.click_system_back_button()
|
||||||
profile_view.submit_bug_button.click()
|
profile_view.submit_bug_button.click()
|
||||||
profile_view.find_full_text('#status')
|
profile_view.find_full_text('#status')
|
||||||
|
|
|
@ -291,6 +291,9 @@ class HelpButton(BaseButton):
|
||||||
super(HelpButton, self).__init__(driver)
|
super(HelpButton, self).__init__(driver)
|
||||||
self.locator = self.Locator.accessibility_id("help-button")
|
self.locator = self.Locator.accessibility_id("help-button")
|
||||||
|
|
||||||
|
def click(self):
|
||||||
|
self.scroll_to_element().click()
|
||||||
|
|
||||||
|
|
||||||
class SubmitBugButton(BaseButton):
|
class SubmitBugButton(BaseButton):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue