changed element locator

Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
This commit is contained in:
Oleksii Lymarenko 2018-11-05 23:38:19 +02:00
parent 747bac2738
commit 9248db8dfb
No known key found for this signature in database
GPG Key ID: 2007E841ECE4A02C
2 changed files with 4 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
profile_view.help_button.click()
base_web_view = profile_view.faq_button.click()
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()
profile_view.submit_bug_button.click()
profile_view.find_full_text('#status')

View File

@ -291,6 +291,9 @@ class HelpButton(BaseButton):
super(HelpButton, self).__init__(driver)
self.locator = self.Locator.accessibility_id("help-button")
def click(self):
self.scroll_to_element().click()
class SubmitBugButton(BaseButton):