[FIX] web: indeterministic test fail
Apply the same solution used in other tests with "test:hashchange": ```js await testUtils.nextTick(); await legacyExtraNextTick(); ``` closes odoo/odoo#124041 X-original-commit: 8bd9809bc4700637ffb26bbcfbd00c62b0dbd220 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Hubert Van De Walle <huvw@odoo.com>
This commit is contained in:
@@ -571,6 +571,7 @@ QUnit.module("ActionManager", (hooks) => {
|
||||
action: 3,
|
||||
view_type: "form",
|
||||
});
|
||||
await testUtils.nextTick();
|
||||
await legacyExtraNextTick();
|
||||
|
||||
// Go back to the list view
|
||||
@@ -579,7 +580,7 @@ QUnit.module("ActionManager", (hooks) => {
|
||||
action: 3,
|
||||
view_type: "list",
|
||||
});
|
||||
await legacyExtraNextTick();
|
||||
await testUtils.nextTick();
|
||||
await legacyExtraNextTick();
|
||||
assert.containsOnce(target, ".o_list_view", "should still display the list view");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user