Skip to content

Commit

Permalink
test(InputField): add snapshots for required field with filled in value
Browse files Browse the repository at this point in the history
  • Loading branch information
domihustinova committed Sep 5, 2024
1 parent dbec8e3 commit a3c1b35
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/orbit-components/src/InputField/InputField.ct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ test.describe("visual InputField", () => {
await expect(component).toHaveScreenshot();
});

test("screenshot required value", async ({ mount }) => {
const component = await mount(<Test required value="Value" />);

await expect(component).toHaveScreenshot();
});

test("screenshot help", async ({ mount }) => {
const component = await mount(<TestHelp />);

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a3c1b35

Please sign in to comment.