From 1bf314545541f10a3284634f1dae3925cfc44262 Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Fri, 22 Oct 2021 17:10:42 +0530 Subject: [PATCH] draft screen: calling side navbar method --- src/bitmessagekivy/tests/test_sent_message.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bitmessagekivy/tests/test_sent_message.py b/src/bitmessagekivy/tests/test_sent_message.py index 694bfe98..3e9f450e 100644 --- a/src/bitmessagekivy/tests/test_sent_message.py +++ b/src/bitmessagekivy/tests/test_sent_message.py @@ -123,9 +123,7 @@ class SendMessage(TeleniumTestProcess): Checking Message in Sent Screen after sending a Message. """ # this is for opening Nav drawer - self.cli.wait_click('//MDActionTopAppBarButton[@icon=\"menu\"]', timeout=5) - # checking state of Nav drawer - self.assertExists("//MDNavigationDrawer[@state~=\"open\"]", timeout=5) + self.open_side_navbar() # Clicking on Sent Tab self.cli.wait_click('//NavigationItem[@text=\"Sent\"]', timeout=5) # Checking current screen; Sent