Community mailing list archives

community@mail.odoo.com

Re: Inherit/change phamtom tests.

by
Martin Trigaux (mat)
- 05/27/2015 04:13:52
On 25/05/15 11:48, Nhomar Hernández wrote:
> 
> There is a way to inherit/change from an external module an specific tests?

Hello,

Check the tests in website_sale_options. As we are adding steps, we are
breaking test shop_buy_product of website_sale.

https://github.com/odoo/odoo/blob/8.0/addons/website_sale_options/static/src/js/website_sale.test.js

We modify the step "click on add to cart" based on the title. Do not use
the number as it may break if 2 modules are modifying the same test.

-- 
Martin Trigaux
Odoo (Formerly OpenERP)
https://odoo.com
https://github.com/mart-e