If this code mod is run on an app a second time (to update more tests that have since been added), then it does this:
click('button'); // Intentionally no await
await waitUntil(() => { ... });
await click('button'); // Intentionally no await
await waitUntil(() => { ... });
This then breaks the test suite because await click waits for everything to settle, so waitUntil can't do it's thing.
If this code mod is run on an app a second time (to update more tests that have since been added), then it does this:
This then breaks the test suite because
await clickwaits for everything to settle, sowaitUntilcan't do it's thing.