File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -86,16 +86,7 @@ def test_edit_and_resend_draft_messgae(self):
86
86
"""Click on a Drafted message to send message"""
87
87
# OPEN NAVIGATION-DRAWER
88
88
# this is for opening Nav drawer
89
- self .cli .wait_click ('//MDActionTopAppBarButton[@icon=\" menu\" ]' , timeout = 5 )
90
- # checking state of Nav drawer
91
- self .assertExists ("//MDNavigationDrawer[@state~=\" open\" ]" , timeout = 5 )
92
- # Click to open Draft Screen
93
- self .cli .wait_click ('//NavigationItem[@text=\" Draft\" ]' , timeout = 5 )
94
- # checking state of Nav drawer
95
- self .assertExists ("//MDNavigationDrawer[@state~=\" close\" ]" , timeout = 5 )
96
- # Checking Draft Screen
97
- self .assertExists ("//ScreenManager[@current=\" draft\" ]" , timeout = 5 )
98
-
89
+ self .open_side_navbar ()
99
90
# Checking messages in draft box
100
91
self .assertEqual (len (self .cli .select ('//SwipeToDeleteItem[0]//TwoLineAvatarIconListItem' )), 1 )
101
92
# Wait to render the widget
You can’t perform that action at this time.
0 commit comments