From d58d7c8b81e8e1a785f468f55a31536f754e8b75 Mon Sep 17 00:00:00 2001 From: Serhy Date: Mon, 7 May 2018 11:38:01 +0300 Subject: [PATCH] Dont share button tests update from 4098 Signed-off-by: yevh-berdnyk --- test/appium/views/sign_in_view.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/appium/views/sign_in_view.py b/test/appium/views/sign_in_view.py index 2523c9d2be..d7e6b264ac 100644 --- a/test/appium/views/sign_in_view.py +++ b/test/appium/views/sign_in_view.py @@ -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):