-
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.
fix: removed SelectionGroup from Loki -tests and added e2e tests
- Loading branch information
1 parent
f6f6ae1
commit 598fe7f
Showing
41 changed files
with
25 additions
and
1 deletion.
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 = 'selection-group'; | ||
const storybook = 'core'; | ||
const takeStateSnapshots = false; | ||
|
||
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
+12.6 KB
...on-group-spec.ts-snapshots/core-components-selection-group--default-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
+10.7 KB
...ion-group-spec.ts-snapshots/core-components-selection-group--default-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
+7.71 KB
...group-spec.ts-snapshots/core-components-selection-group--horizontal-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
+6.65 KB
...-group-spec.ts-snapshots/core-components-selection-group--horizontal-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
+19.4 KB
...snapshots/core-components-selection-group--invalid-with-helper-text-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
+16.5 KB
...-snapshots/core-components-selection-group--invalid-with-helper-text-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
+13 KB
...n-group-spec.ts-snapshots/core-components-selection-group--required-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
+11.1 KB
...on-group-spec.ts-snapshots/core-components-selection-group--required-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
+15.5 KB
...spec.ts-snapshots/core-components-selection-group--with-helper-text-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
+13.3 KB
...-spec.ts-snapshots/core-components-selection-group--with-helper-text-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
+7.79 KB
...roup-spec.ts-snapshots/core-components-selection-group--with-parent-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
+6.47 KB
...group-spec.ts-snapshots/core-components-selection-group--with-parent-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 = 'selectiongroup'; | ||
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
+12.6 KB
...on-group-spec.ts-snapshots/react-components-selectiongroup--default-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
+10.7 KB
...ion-group-spec.ts-snapshots/react-components-selectiongroup--default-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
+7.71 KB
...group-spec.ts-snapshots/react-components-selectiongroup--horizontal-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
+6.65 KB
...-group-spec.ts-snapshots/react-components-selectiongroup--horizontal-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
+16.4 KB
...on-group-spec.ts-snapshots/react-components-selectiongroup--invalid-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
+13.9 KB
...ion-group-spec.ts-snapshots/react-components-selectiongroup--invalid-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
+13 KB
...n-group-spec.ts-snapshots/react-components-selectiongroup--required-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
+11.1 KB
...on-group-spec.ts-snapshots/react-components-selectiongroup--required-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
+15.5 KB
...spec.ts-snapshots/react-components-selectiongroup--with-helper-text-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
+13.2 KB
...-spec.ts-snapshots/react-components-selectiongroup--with-helper-text-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
+7.38 KB
...roup-spec.ts-snapshots/react-components-selectiongroup--with-parent-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
+6.07 KB
...group-spec.ts-snapshots/react-components-selectiongroup--with-parent-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
+14.3 KB
...oup-spec.ts-snapshots/react-components-selectiongroup--with-tooltip-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
+12.3 KB
...roup-spec.ts-snapshots/react-components-selectiongroup--with-tooltip-mobile.png
Oops, something went wrong.
Binary file removed
BIN
-27.7 KB
...ages/react/.loki/reference/chrome_iphone7_Components_SelectionGroup_Default.png
Diff not rendered.
Binary file removed
BIN
-16.2 KB
...s/react/.loki/reference/chrome_iphone7_Components_SelectionGroup_Horizontal.png
Diff not rendered.
Binary file removed
BIN
-35.8 KB
...ages/react/.loki/reference/chrome_iphone7_Components_SelectionGroup_Invalid.png
Diff not rendered.
Binary file removed
BIN
-28.9 KB
...ges/react/.loki/reference/chrome_iphone7_Components_SelectionGroup_Required.png
Diff not rendered.
Binary file removed
BIN
-35 KB
...t/.loki/reference/chrome_iphone7_Components_SelectionGroup_With_Helper_Text.png
Diff not rendered.
Binary file removed
BIN
-30.6 KB
...react/.loki/reference/chrome_iphone7_Components_SelectionGroup_With_tooltip.png
Diff not rendered.
Binary file removed
BIN
-11.4 KB
packages/react/.loki/reference/chrome_laptop_Components_SelectionGroup_Default.png
Diff not rendered.
Binary file removed
BIN
-6.86 KB
...es/react/.loki/reference/chrome_laptop_Components_SelectionGroup_Horizontal.png
Diff not rendered.
Binary file removed
BIN
-14.9 KB
packages/react/.loki/reference/chrome_laptop_Components_SelectionGroup_Invalid.png
Diff not rendered.
Binary file removed
BIN
-11.9 KB
...ages/react/.loki/reference/chrome_laptop_Components_SelectionGroup_Required.png
Diff not rendered.
Binary file removed
BIN
-14.4 KB
...ct/.loki/reference/chrome_laptop_Components_SelectionGroup_With_Helper_Text.png
Diff not rendered.
Binary file removed
BIN
-12.8 KB
.../react/.loki/reference/chrome_laptop_Components_SelectionGroup_With_tooltip.png
Diff not rendered.
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