made changes in telenium_process
This commit is contained in:
parent
bcf662b6d2
commit
52b6d14ab2
|
@ -79,7 +79,7 @@ class TeleniumTestProcess(TeleniumTestCase):
|
||||||
"""this method is for checking scroll"""
|
"""this method is for checking scroll"""
|
||||||
start = time()
|
start = time()
|
||||||
while True:
|
while True:
|
||||||
scroll_distance = self.cli.getattr('//ContentNavigationDrawer//ScrollView[0]', 'scroll_y')
|
scroll_distance = self.cli.getattr(selector, 'scroll_y')
|
||||||
if scroll_distance > 0.0:
|
if scroll_distance > 0.0:
|
||||||
self.assertGreaterEqual(scroll_distance, 0.0)
|
self.assertGreaterEqual(scroll_distance, 0.0)
|
||||||
return True
|
return True
|
||||||
|
|
Reference in New Issue
Block a user