Closed langemike closed 6 months ago
Two e2e tests failed because all the read-only<input>s on the page had the same ID. Causing Playwright to fail.
<input>
Happened because of this call:
cardInfo.forEach(([label, value]) => I.seeInField(label, value));
Applying a name fixed this, but I also marked the name property required, to prevent this issue from happening in the future. Double IDs can also lead to issues with clicking on a <label> which is linked to the wrong <input>.
name
<label>
Caused by: PR #38
Mistake
Two e2e tests failed because all the read-only
<input>
s on the page had the same ID. Causing Playwright to fail.Happened because of this call:
Applying a name fixed this, but I also marked the
name
property required, to prevent this issue from happening in the future. Double IDs can also lead to issues with clicking on a<label>
which is linked to the wrong<input>
.Caused by: PR #38