Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3408 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Jan. 22
1553
1
Feb. 24
1202
0
Juni 23
2053
2
März 21
24703
1
Feb. 25
3098