-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: e2e tests for Breadcrumbs component
- Loading branch information
1 parent
6c540cc
commit f73f4cd
Showing
14 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { test } from '@playwright/test'; | ||
import { takeAllStorySnapshots } from '../../../helpers'; | ||
|
||
const componentName = 'breadcrumb'; | ||
const storybook = 'core'; | ||
const takeStateSnapshots = true; | ||
|
||
test.describe(`Testing ${storybook} component "${componentName}"`, () => { | ||
test('Take snapshots of all stories', async ({ page, isMobile }) => { | ||
await takeAllStorySnapshots({ page, isMobile, takeStateSnapshots, storybook, componentName }); | ||
}); | ||
}); |
Binary file added
BIN
+5.53 KB
...breadcrumb-spec.ts-snapshots/core-components-breadcrumb--breadcrumb-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.94 KB
...-breadcrumb-spec.ts-snapshots/core-components-breadcrumb--breadcrumb-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.52 KB
...umb-spec.ts-snapshots/core-components-breadcrumb--with-custom-theme-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.94 KB
...rumb-spec.ts-snapshots/core-components-breadcrumb--with-custom-theme-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { test } from '@playwright/test'; | ||
import { takeAllStorySnapshots } from '../../../helpers'; | ||
|
||
const componentName = 'breadcrumb'; | ||
const storybook = 'react'; | ||
const takeStateSnapshots = true; | ||
|
||
test.describe(`Testing ${storybook} component "${componentName}"`, () => { | ||
test('Take snapshots of all stories', async ({ page, isMobile }) => { | ||
await takeAllStorySnapshots({ page, isMobile, takeStateSnapshots, storybook, componentName }); | ||
}); | ||
}); |
Binary file added
BIN
+5.26 KB
...t-breadcrumb-spec.ts-snapshots/react-components-breadcrumb--example-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.6 KB
...mb-spec.ts-snapshots/react-components-breadcrumb--example-in-header-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.91 KB
...umb-spec.ts-snapshots/react-components-breadcrumb--example-in-header-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.82 KB
...ct-breadcrumb-spec.ts-snapshots/react-components-breadcrumb--example-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.3 KB
...mb-spec.ts-snapshots/react-components-breadcrumb--last-item-is-link-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.12 KB
...umb-spec.ts-snapshots/react-components-breadcrumb--last-item-is-link-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.25 KB
...mb-spec.ts-snapshots/react-components-breadcrumb--with-custom-theme-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.82 KB
...umb-spec.ts-snapshots/react-components-breadcrumb--with-custom-theme-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.