Skip to content

Commit

Permalink
update to branch to regen screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
chromaticWaster committed Oct 18, 2023
1 parent 1ebfa85 commit 28a5d29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pin-field/PinField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ test(`Pin Field - Behaviour`, async ({ page }) => {
await pinField.evaluate((p: PinField, invalidNumber) => (p.value = invalidNumber), invalidNumber);
await expect(pinField).toHaveScreenshot('pin-field-evaluate-invalid.png');

// Expected to be 5678 as the component should not allow non-numeric values.
await expect(inputField).toHaveValue('5678');
await expect(pinField).toHaveScreenshot('pin-field-invalid-value.png');
});
Expand Down

0 comments on commit 28a5d29

Please sign in to comment.