[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:
Hubert Van de Walle (huvw)
2023-06-06 22:54:41 +02:00
parent 129618ae41
commit cfc049c0a9
@@ -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");