Skip to content

Unnecessarily inserts await #40

@amk221

Description

@amk221

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions