File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,8 @@ def test_select_subscription(self):
3434 self .assertCheckScrollDown ('//Payment//ScrollView[0]' , timeout = 3 )
3535 # Click on BUY Button
3636 self .cli .wait_click ('//MDRaisedButton[@text=\" BUY\" ]' , timeout = 2 )
37- # self.assertEqual('//PaymentMethodLayout[@disabled]', 'True') #Returns None when condition True
38- # CLick on the Payment Method
39- self .cli .click_on ('//ScrollView[0]/ListItemWithLabel[0]' )
40- # Check pop up is opened
41- self .assertTrue ('//PaymentMethodLayout[@disabled]' , 'False' )
37+ # assert check the buying option popup is closed
38+ self .assertExists ('//PaymentMethodLayout[@disabled=false]' , timeout = 5 )
4239 # Click out side to dismiss the popup
4340 self .cli .wait_click ('//MDRaisedButton[3]' , timeout = 2 )
4441 # Checking Current screen(Payment screen)
You can’t perform that action at this time.
0 commit comments