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.
examples/wdio/mocha/wdio.conf.tslacks--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 withCan'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.