Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3405 มุมมอง

In Odoo.sh (Odoo v13), after adding a new input field (radiobox : gender : Mr /Mme) in the registration webform of my customization of official EVENT module,

• in dev branch : it works perfectly (without test suite) to complete a purhase

• but when i drag it to staging branch in odoo.sh, the Event Test Suite fails (js start_tour) : 

AssertionError: The test code "odoo.startTour('event_buy_tickets')" failed Tour event_buy_tickets failed at step :

"Check that the cart contains exactly 3 triggers" : trigger:  a:has(.my_cart_quantity:containsExact(3)),.o_extra_menu_items .fa-plus

When I perform the tour in Firefox console log : odoo.startTour('event_buy_tickets'), it shows clearly that the issue cause is at the step before : js-Tour-Test get stucked on the web-page : registration form because it can't fill the new customized field (input radio gender : required=true).


TEST SUITE on module EVENT should enable such simple customization (new input field in the registration form). How to correct it ? How to overwrite the test or disable the test on event module ?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ม.ค. 22
1553
1
ก.พ. 24
1202
0
มิ.ย. 23
2051
2
มี.ค. 21
24702
Start Web Tour manually with button แก้ไขแล้ว
1
ก.พ. 25
3098