@@ -43,7 +43,7 @@ def test_01_pos_order_with_sepa_qr_payment_fail(self):
43
43
})
44
44
self .main_pos_config .with_user (self .pos_user ).open_ui ()
45
45
46
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPaymentFailure' , login = "pos_user" )
46
+ self .start_pos_tour ( 'PaymentScreenWithQRPaymentFailure' )
47
47
48
48
def test_02_pos_order_with_sepa_qr_payment (self ):
49
49
""" Test Point of Sale QR Payment flow with SEPA
@@ -55,7 +55,7 @@ def test_02_pos_order_with_sepa_qr_payment(self):
55
55
})
56
56
self .main_pos_config .with_user (self .pos_user ).open_ui ()
57
57
58
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPayment' , login = "pos_user" )
58
+ self .start_pos_tour ( 'PaymentScreenWithQRPayment' )
59
59
60
60
61
61
@tagged ('post_install_l10n' , 'post_install' , '-at_install' )
@@ -106,15 +106,15 @@ def test_01_pos_order_with_swiss_qr_payment_fail(self):
106
106
"""
107
107
self .main_pos_config .with_user (self .pos_user ).open_ui ()
108
108
109
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPaymentFailure' , login = "pos_user" )
109
+ self .start_pos_tour ( 'PaymentScreenWithQRPaymentFailure' )
110
110
111
111
def test_02_pos_order_with_swiss_qr_payment (self ):
112
112
""" Test Point of Sale QR Payment flow with Swiss QR
113
113
We have to select a customer based in Switzerland or Lichtestein to use this payment method
114
114
"""
115
115
self .main_pos_config .with_user (self .pos_user ).open_ui ()
116
116
117
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPaymentSwiss' , login = "pos_user" )
117
+ self .start_pos_tour ( 'PaymentScreenWithQRPaymentSwiss' )
118
118
119
119
120
120
@tagged ('post_install_l10n' , 'post_install' , '-at_install' )
@@ -158,7 +158,7 @@ def test_01_pos_order_with_fps_qr_payment_fail(self):
158
158
"""
159
159
self .main_pos_config .with_user (self .pos_user ).open_ui ()
160
160
161
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPaymentFailure' , login = "pos_user" )
161
+ self .start_pos_tour ( 'PaymentScreenWithQRPaymentFailure' )
162
162
163
163
def test_02_pos_order_with_emv_qr_payment (self ):
164
164
""" Test Point of Sale QR Payment flow with FPS.
@@ -173,7 +173,7 @@ def test_02_pos_order_with_emv_qr_payment(self):
173
173
174
174
self .main_pos_config .with_user (self .pos_user ).open_ui ()
175
175
176
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPayment' , login = "pos_user" )
176
+ self .start_pos_tour ( 'PaymentScreenWithQRPayment' )
177
177
178
178
179
179
@tagged ('post_install_l10n' , 'post_install' , '-at_install' )
@@ -213,7 +213,7 @@ def test_01_pos_order_with_pix_qr_payment_fail(self):
213
213
"""
214
214
self .main_pos_config .with_user (self .pos_user ).open_ui ()
215
215
216
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPaymentFailure' , login = "pos_user" )
216
+ self .start_pos_tour ( 'PaymentScreenWithQRPaymentFailure' )
217
217
218
218
def test_02_pos_order_with_pix_qr_payment (self ):
219
219
""" Test Point of Sale QR Payment flow with PIX
@@ -228,4 +228,4 @@ def test_02_pos_order_with_pix_qr_payment(self):
228
228
229
229
self .main_pos_config .with_user (self .pos_user ).open_ui ()
230
230
231
- self .start_tour ( "/pos/ui/%d" % self . main_pos_config . id , 'PaymentScreenWithQRPayment' , login = "pos_user" )
231
+ self .start_pos_tour ( 'PaymentScreenWithQRPayment' )
0 commit comments