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 Aug 27, 2024
1 parent 3b5c2b7 commit d63121a
Show file tree
Hide file tree
Showing 7 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.

0 comments on commit d63121a

Please sign in to comment.