Skip to content

mocha example is missing the password-leak workaround, so its second test always fails #353

Description

@vishnuv688

examples/wdio/mocha/wdio.conf.ts lacks --host-resolver-rules=MAP passwordsleakcheck-pa.googleapis.com 127.0.0.1, which the cucumber example does set.

Consequence: the first test submits the demo credential tomsmith / SuperSecretPassword!, Chrome's password-leak check recognises it, and all synthesized input to that tab stops being delivered. The second test then fails every run with Can't call getText on element with selector "#flash" because element wasn't found.

Reproduced on every run of that example, before and after unrelated changes. The mechanism is already documented in CLAUDE.md; only this config is missing the arg.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions