removed payment screen
This commit is contained in:
parent
97a60e4d5d
commit
ccfdfbc41a
|
@ -73,14 +73,14 @@ class TeleniumTestProcess(TeleniumTestCase):
|
||||||
try:
|
try:
|
||||||
if self.cli.getattr(selector, 'current') == value:
|
if self.cli.getattr(selector, 'current') == value:
|
||||||
self.assertTrue(selector, value)
|
self.assertTrue(selector, value)
|
||||||
return True
|
break
|
||||||
except TeleniumHttpException:
|
except TeleniumHttpException:
|
||||||
sleep(0.1)
|
sleep(0.1)
|
||||||
continue
|
continue
|
||||||
finally:
|
finally:
|
||||||
# Finally Sleep is used to make the menu button funcationlly available for the click process.
|
# Finally Sleep is used to make the menu button funcationlly available for the click process.
|
||||||
# (because Transition is little bit slow)
|
# (because Transition is little bit slow)
|
||||||
sleep(0.1)
|
sleep(0.2)
|
||||||
|
|
||||||
def drag(self, xpath1, xpath2):
|
def drag(self, xpath1, xpath2):
|
||||||
"""this method is for dragging"""
|
"""this method is for dragging"""
|
||||||
|
|
|
@ -9,7 +9,7 @@ class NetworkStatusScreen(TeleniumTestProcess):
|
||||||
|
|
||||||
@skip_screen_checks
|
@skip_screen_checks
|
||||||
def test_network_status(self):
|
def test_network_status(self):
|
||||||
"""Show NetwrokStatus"""
|
"""Show NetworkStatus"""
|
||||||
# This is for checking Current screen
|
# This is for checking Current screen
|
||||||
self.assert_wait_no_except('//ScreenManager[@current]', timeout=15, value='inbox')
|
self.assert_wait_no_except('//ScreenManager[@current]', timeout=15, value='inbox')
|
||||||
# This is for checking the Side nav Bar id closed
|
# This is for checking the Side nav Bar id closed
|
||||||
|
|
|
@ -12,7 +12,7 @@ class SettingScreen(TeleniumTestProcess):
|
||||||
"""Show Setting Screen"""
|
"""Show Setting Screen"""
|
||||||
# This is for checking Current screen
|
# This is for checking Current screen
|
||||||
self.assert_wait_no_except('//ScreenManager[@current]', timeout=15, value='inbox')
|
self.assert_wait_no_except('//ScreenManager[@current]', timeout=15, value='inbox')
|
||||||
# This is for checking the Side nav Bar id closed
|
# This is for checking the Side nav Bar is closed
|
||||||
self.assertExists('//MDNavigationDrawer[@status~=\"closed\"]', timeout=5)
|
self.assertExists('//MDNavigationDrawer[@status~=\"closed\"]', timeout=5)
|
||||||
# This is for checking the menu button is appeared
|
# This is for checking the menu button is appeared
|
||||||
self.assertExists('//MDActionTopAppBarButton[@icon~=\"menu\"]', timeout=5)
|
self.assertExists('//MDActionTopAppBarButton[@icon~=\"menu\"]', timeout=5)
|
||||||
|
|
Reference in New Issue
Block a user