| Age | Commit message (Collapse) | Author |
|
After each test, a check is done that there is no leftover in the
DOM. If there are, the suite fails, but there is no indication on
the test that left elements in the DOM.
This commit logs that missing information. We also stop dumping
the DOM when this happens, as it was rather creating noise than
providing useful information (the remaining elements are still
logged though).
closes odoo/odoo#58777
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
|
|
With this commit, we properly introduce the Owl library into our beloved
codebase. More information on the Owl library can be found in the project
repository: https://github.com/odoo/owl/
Co-authored-by: Aaron Bohy <aab@odoo.com>
Co-authored-by: Julien Mougenot <jum@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
|
|
This hook will be used to check that there are no leftovers in the
DOM.
|
|
The new version of qunit better reports failures of promises then
the previous version.
|
|
In particular, qunit 2.3.0 solves this issue: https://github.com/qunitjs/qunit/issues/1119
A consequence of the above issue is that some tests could have completed successfully,
although an error was raised.
|
|
It has an Abort button!!!
|
|
This commit introduce a full redesign of all JS views. We started
basically from scratch. The goal was to unify all the various views
under a common framework, to make them testable, to make then usable in
different conditions (in studio, or in the frontend), and to make our
lives easier.
Some important points are:
- we introduced new coding guidelines (camelCase, 80 chars width, ...)
- we have a brand new testing framework (still QUnit based)
- kanban view moved to the web addon
- calendar view (formerly web_calender) moved to web as well
- the tree view was removed
- all new code should be documented
We hope that this code is the start of a new era for the Odoo web
client, we want to have a high quality codebase, well documented, well
tested, well designed.
Work done by the framework team: mostly aab, ged, chm, dmo, qsm
|
|
The testing framework was done with an old version of qunit. We had to
program our layer on top of it to provide support for promises in tests.
The last version of qunit now supports promises, and the testing
framework needs to be reworked anyway with the new modules.
|
|
bzr revid: xmo@openerp.com-20130801091239-6lz0ya595i226l85
|
|
bzr revid: xmo@openerp.com-20120905151840-dopnvm12n0q67wue
|
|
bzr revid: xmo@openerp.com-20120227094132-dk41nad2mx854s4p
|
|
bzr revid: xmo@openerp.com-20111125090145-3plxy4tr1l2nm3ne
|
|
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
|