Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3406 Переглядів

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
2052
2
бер. 21
24702
1
лют. 25
3098