Skip to content

Commit

Permalink
Added screenshot to Visual and Behaviour test
Browse files Browse the repository at this point in the history
  • Loading branch information
chromaticWaster committed Jul 27, 2023
1 parent 4d4801f commit b869932
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/currency-field/CurrencyField.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ test(`Currency Field - Visual and Behaviour`, async ({ page }) => {
const numericValue = 88.88;
await currencyField.evaluate((c: CurrencyField, numericValue) => (c.value = numericValue), numericValue);
await expect(inputField).toHaveValue(numericValue.toString());
await expect(currencyField).toHaveScreenshot('currency-field-numeric-evaluate.png');
});
});

Expand Down

0 comments on commit b869932

Please sign in to comment.