Se rendre au contenu
Menu
Cette question a été signalée
3299 Vues

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
Ignorer
Publications associées Réponses Vues Activité
0
janv. 22
1402
1
févr. 24
995
0
juin 23
1864
2
mars 21
24429
1
févr. 25
2825