Skip to content

Commit

Permalink
Format updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chromaticWaster committed Oct 19, 2023
1 parent 32c2895 commit ab4d1ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/color-field/ColorField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test(`Color Field - Visual and Behaviour`, async ({ page }) => {
const inputField = field.locator('#inputField');

await expect(inputField).toHaveAttribute('type', 'color');

// Confirm that the component matches the screenshot
await expect(field).toHaveScreenshot('color-field.png');

Expand Down
2 changes: 1 addition & 1 deletion src/email-field/EmailField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test(`Email Field - Visual and Behaviour`, async ({ page }) => {
t.value = '';
await t.updateComplete;
});

// Confirm that the component matches the provided screenshot.
await expect(emailField).toHaveScreenshot('email-field.png');

Expand Down
2 changes: 1 addition & 1 deletion src/number-field/NumberField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test(`Number Field - Visual and Behaviour`, async ({ page }) => {
t.value = '';
await t.updateComplete;
});

// Confirm that the component matches the provided screenshot.
await expect(numberField).toHaveScreenshot('number-field.png');

Expand Down
2 changes: 1 addition & 1 deletion src/password-field/PasswordField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test(`Password Field - Visual and Behaviour`, async ({ page }) => {
const showSlotElement = passwordField.locator('slot[name=show]');
await expect(showSlotElement).toHaveCount(1);
await showSlotElement.click();

// Confirm that the component matches the provided screenshot should show the unmasked value.
await expect(passwordField).toHaveScreenshot('password-field-show.png');

Expand Down
2 changes: 1 addition & 1 deletion src/text-field/TextField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test(`Text Field - Visual and Behaviour`, async ({ page }) => {
t.value = '';
await t.updateComplete;
});

// Confirm that the component matches the provided screenshot.
await expect(textField).toHaveScreenshot('text-field.png');
const inputFn = await mockEventListener(textField, 'input');
Expand Down

0 comments on commit ab4d1ee

Please sign in to comment.