diff options
| author | Xavier Morel <xmo@odoo.com> | 2020-01-16 14:42:26 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-01-21 06:56:15 +0000 |
| commit | 9733f6e1ab31abf780a5ad671f700fac883b63ee (patch) | |
| tree | b07032df6e48bcd57c466df3da6aa6b9d5c19644 /addons/web/static/src/js/fields | |
| parent | b66a7feb0f468e263b507929237ae6c93f3ee4cd (diff) | |
[FIX] web_tour: never run default action for a tour's final step
A number of steps have a last step which may trigger some async
operation (e.g. reopen a menu, close a modal, ...).
This async operation can span over the cleanup of the browser, in
which case its callback will try running in a seriously broken state.
It's simpler to just assume that the last step's side-effects should
not matter to the test's success and interpret it as a "wait" (used
only for its trigger to wait until a proper end-state).
There was a question of whether we should ignore all final actions,
all non-function actions, or all implicit (default) actions. The
latter seems the least disruptive as hopefully developers having
provided a `run` in the final action have a good use case for it.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
