Skip to Content
Menu
This question has been flagged
2713 Views

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 ?

Avatar
Discard
Related Posts Replies Views Activity
0
Jan 22
902
1
Feb 24
358
0
Jun 23
1251
2
Mar 21
23362
1
Jan 24
1947