Fix intermittent failure in the "must check that the computed value is correct" scripting integration test
Typing in the text field causes a sandbox event to trigger, which we should await to avoid continuing to the next part of the test before the sandbox event is fully processed.
This commit is contained in:
parent
f16e0b6daa
commit
48c6253b32
@ -2392,9 +2392,7 @@ describe("Interaction", () => {
|
||||
pages.map(async ([browserName, page], i) => {
|
||||
await waitForScripting(page);
|
||||
|
||||
const inputSelector = getSelector("33R");
|
||||
await page.click(inputSelector);
|
||||
await page.type(inputSelector, "7");
|
||||
await typeAndWaitForSandbox(page, getSelector("33R"), "7");
|
||||
await page.click(getSelector("34R"));
|
||||
await page.waitForFunction(
|
||||
`${getQuerySelector("35R")}.value === "324,00"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user