Dont share button tests update from 4098

Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
Serhy 2018-05-07 11:38:01 +03:00 committed by yevh-berdnyk
parent fcaa291c23
commit d58d7c8b81
No known key found for this signature in database
GPG Key ID: E9B425FDFC4DEA9C
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ class DonNotShare(BaseButton):
def __init__(self, driver):
super(DonNotShare, self).__init__(driver)
self.locator = self.Locator.xpath_selector('//*[@text="NO, I DON%sT WANT TO SHARE"]' % "'")
self.locator = self.Locator.xpath_selector('//*[@text="NO, I DON%sT WANT TO SHARE" '
'or @text="Do not share"]' % "'")
class SignInView(BaseView):