Add more timeout in kivy setting screen test case

This commit is contained in:
osamacis 2022-11-18 16:50:28 +05:30
parent 22156aae97
commit 2785e56fab
No known key found for this signature in database
GPG Key ID: 15F978BEFADAB9E1

View File

@ -15,11 +15,11 @@ class SettingScreen(TeleniumTestProcess):
# this is for scrolling Nav drawer
self.drag("//NavigationItem[@text=\"Sent\"]", "//NavigationItem[@text=\"Inbox\"]")
# assert for checking scroll function
self.assertCheckScrollDown('//ContentNavigationDrawer//ScrollView[0]', timeout=5)
self.assertCheckScrollDown('//ContentNavigationDrawer//ScrollView[0]', timeout=10)
# this is for opening setting screen
self.cli.wait_click('//NavigationItem[@text=\"Settings\"]', timeout=3)
self.cli.wait_click('//NavigationItem[@text=\"Settings\"]', timeout=5)
# Checking current screen
self.assertExists("//ScreenManager[@current=\"set\"]", timeout=3)
self.assertExists("//ScreenManager[@current=\"set\"]", timeout=5)
# Scrolling down currrent screen
self.cli.wait_drag(
'//MDTabs[0]//MDLabel[@text=\"Close to tray\"]',