summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2017-08-11 15:03:24 +0200
committerDenis Ledoux <dle@odoo.com>2017-08-11 16:05:43 +0200
commitcbb52702dd07efe430eed8a76b3e2e39ce038b8a (patch)
tree653317974f8542b1a7bdc4e880325e3f5cd8cfdb /addons/web/static/src/js/views/basic
parentd7c248e3c05da89b2e867f80fa237ef7a8f62d97 (diff)
[FIX] point_of_sale: test pos_basic_order do not actually jump in the backend
We avoid to actually jump in the back-end, to prevent phantomjs to send requests to the server without waiting for them. Indeed, clicking on the close & confirm button jumps ine the backend, but the tour is actually finished (and succeeded) once these buttons are clicked, and just clicked. The test does not actually check if these buttons makes the user come back in the backend, and it does not wait for the requests sent because of the jump in the backend to be completed. Besides, the jump in the backend triggers the compilation of the common and backend assets, which take some time. These requests for which phantomjs does not wait triggers the method `def _wait_remaining_requests(self)` in the class `class HttpCase(TransactionCase)`, which leads to the ugly tracebacks in the runbot, waiting for the requests triggered by phantomjs to be finished.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions