-
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.
Merge pull request #1366 from City-of-Helsinki/HDS-2272-fix-koros
Release-4.0.0 HDS-2272 fix koros examples, remova old and add new visual tests
- Loading branch information
Showing
83 changed files
with
139 additions
and
133 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 = 'koros'; | ||
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
+1.64 KB
...omponents/core-koros-spec.ts-snapshots/core-components-koros--basic-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.02 KB
...components/core-koros-spec.ts-snapshots/core-components-koros--basic-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
+3.16 KB
...components/core-koros-spec.ts-snapshots/core-components-koros--beat-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.7 KB
.../components/core-koros-spec.ts-snapshots/core-components-koros--beat-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
+808 Bytes
...components/core-koros-spec.ts-snapshots/core-components-koros--calm-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
+455 Bytes
.../components/core-koros-spec.ts-snapshots/core-components-koros--calm-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.77 KB
...ts/core-koros-spec.ts-snapshots/core-components-koros--custom-color-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.12 KB
...nts/core-koros-spec.ts-snapshots/core-components-koros--custom-color-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.26 KB
...omponents/core-koros-spec.ts-snapshots/core-components-koros--dense-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
+3.02 KB
...components/core-koros-spec.ts-snapshots/core-components-koros--dense-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
+11.7 KB
...ponents/core-koros-spec.ts-snapshots/core-components-koros--flipped-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.39 KB
...mponents/core-koros-spec.ts-snapshots/core-components-koros--flipped-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
+2.16 KB
...omponents/core-koros-spec.ts-snapshots/core-components-koros--pulse-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.26 KB
...components/core-koros-spec.ts-snapshots/core-components-koros--pulse-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.59 KB
...oros-spec.ts-snapshots/core-components-koros--rotated-basic-135-deg-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
+3.67 KB
...koros-spec.ts-snapshots/core-components-koros--rotated-basic-135-deg-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
+6 KB
...oros-spec.ts-snapshots/core-components-koros--rotated-basic-225-deg-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
+768 Bytes
...koros-spec.ts-snapshots/core-components-koros--rotated-basic-225-deg-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
+3.38 KB
...oros-spec.ts-snapshots/core-components-koros--rotated-basic-270-deg-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.59 KB
...koros-spec.ts-snapshots/core-components-koros--rotated-basic-270-deg-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.93 KB
...oros-spec.ts-snapshots/core-components-koros--rotated-basic-315-deg-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
+4.12 KB
...koros-spec.ts-snapshots/core-components-koros--rotated-basic-315-deg-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
+6 KB
...koros-spec.ts-snapshots/core-components-koros--rotated-basic-45-deg-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
+4.81 KB
...-koros-spec.ts-snapshots/core-components-koros--rotated-basic-45-deg-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
+3.97 KB
...koros-spec.ts-snapshots/core-components-koros--rotated-basic-90-deg-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
+3.08 KB
...-koros-spec.ts-snapshots/core-components-koros--rotated-basic-90-deg-mobile.png
Oops, something went wrong.
Binary file added
BIN
+2.24 KB
...nents/core-koros-spec.ts-snapshots/core-components-koros--vibration-desktop.png
Oops, something went wrong.
Binary file added
BIN
+1.09 KB
...onents/core-koros-spec.ts-snapshots/core-components-koros--vibration-mobile.png
Oops, something went wrong.
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 = 'koros'; | ||
const storybook = 'react'; | ||
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
+1.64 KB
...ponents/react-koros-spec.ts-snapshots/react-components-koros--basic-desktop.png
Oops, something went wrong.
Binary file added
BIN
+1.02 KB
...mponents/react-koros-spec.ts-snapshots/react-components-koros--basic-mobile.png
Oops, something went wrong.
Binary file added
BIN
+3.16 KB
...mponents/react-koros-spec.ts-snapshots/react-components-koros--beat-desktop.png
Oops, something went wrong.
Binary file added
BIN
+1.7 KB
...omponents/react-koros-spec.ts-snapshots/react-components-koros--beat-mobile.png
Oops, something went wrong.
Binary file added
BIN
+808 Bytes
...mponents/react-koros-spec.ts-snapshots/react-components-koros--calm-desktop.png
Oops, something went wrong.
Binary file added
BIN
+455 Bytes
...omponents/react-koros-spec.ts-snapshots/react-components-koros--calm-mobile.png
Oops, something went wrong.
Binary file added
BIN
+1.77 KB
.../react-koros-spec.ts-snapshots/react-components-koros--custom-color-desktop.png
Oops, something went wrong.
Binary file added
BIN
+1.12 KB
...s/react-koros-spec.ts-snapshots/react-components-koros--custom-color-mobile.png
Oops, something went wrong.
Binary file added
BIN
+5.26 KB
...ponents/react-koros-spec.ts-snapshots/react-components-koros--dense-desktop.png
Oops, something went wrong.
Binary file added
BIN
+3.02 KB
...mponents/react-koros-spec.ts-snapshots/react-components-koros--dense-mobile.png
Oops, something went wrong.
Binary file added
BIN
+1.31 KB
...nts/react-koros-spec.ts-snapshots/react-components-koros--exact-fit-desktop.png
Oops, something went wrong.
Binary file added
BIN
+881 Bytes
...ents/react-koros-spec.ts-snapshots/react-components-koros--exact-fit-mobile.png
Oops, something went wrong.
Binary file added
BIN
+11.7 KB
...nents/react-koros-spec.ts-snapshots/react-components-koros--flipped-desktop.png
Oops, something went wrong.
Binary file added
BIN
+6.39 KB
...onents/react-koros-spec.ts-snapshots/react-components-koros--flipped-mobile.png
Oops, something went wrong.
Binary file added
BIN
+2.16 KB
...ponents/react-koros-spec.ts-snapshots/react-components-koros--pulse-desktop.png
Oops, something went wrong.
Binary file added
BIN
+1.26 KB
...mponents/react-koros-spec.ts-snapshots/react-components-koros--pulse-mobile.png
Oops, something went wrong.
Binary file added
BIN
+3.08 KB
...nents/react-koros-spec.ts-snapshots/react-components-koros--rotated-desktop.png
Oops, something went wrong.
Binary file added
BIN
+6.34 KB
...oros-spec.ts-snapshots/react-components-koros--rotated-in-container-desktop.png
Oops, something went wrong.
Binary file added
BIN
+3.79 KB
...koros-spec.ts-snapshots/react-components-koros--rotated-in-container-mobile.png
Oops, something went wrong.
Binary file added
BIN
+2.69 KB
...onents/react-koros-spec.ts-snapshots/react-components-koros--rotated-mobile.png
Oops, something went wrong.
Binary file added
BIN
+2.24 KB
...nts/react-koros-spec.ts-snapshots/react-components-koros--vibration-desktop.png
Oops, something went wrong.
Binary file added
BIN
+1.09 KB
...ents/react-koros-spec.ts-snapshots/react-components-koros--vibration-mobile.png
Oops, something went wrong.
Binary file added
BIN
+2.19 KB
...mponents/react-koros-spec.ts-snapshots/react-components-koros--wave-desktop.png
Oops, something went wrong.
Binary file added
BIN
+1.29 KB
...omponents/react-koros-spec.ts-snapshots/react-components-koros--wave-mobile.png
Oops, something went wrong.
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
Binary file removed
BIN
-2.33 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Basic.png
Diff not rendered.
Binary file removed
BIN
-4.36 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Beat.png
Diff not rendered.
Binary file removed
BIN
-947 Bytes
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Calm.png
Diff not rendered.
Binary file removed
BIN
-2.47 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Custom_Color.png
Diff not rendered.
Binary file removed
BIN
-8.97 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Dense.png
Diff not rendered.
Binary file removed
BIN
-1.66 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Exact_Fit.png
Diff not rendered.
Binary file removed
BIN
-17.8 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Flipped.png
Diff not rendered.
Binary file removed
BIN
-2.33 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Playground.png
Diff not rendered.
Binary file removed
BIN
-3.42 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Pulse.png
Diff not rendered.
Binary file removed
BIN
-8.68 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Rotated.png
Diff not rendered.
Binary file removed
BIN
-10.5 KB
.../react/.loki/reference/chrome_iphone7_Components_Koros_Rotated_In_Container.png
Diff not rendered.
Binary file removed
BIN
-2.56 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Vibration.png
Diff not rendered.
Binary file removed
BIN
-3.26 KB
packages/react/.loki/reference/chrome_iphone7_Components_Koros_Wave.png
Diff not rendered.
Binary file removed
BIN
-1.7 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Basic.png
Diff not rendered.
Binary file removed
BIN
-3.38 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Beat.png
Diff not rendered.
Binary file removed
BIN
-754 Bytes
packages/react/.loki/reference/chrome_laptop_Components_Koros_Calm.png
Diff not rendered.
Binary file removed
BIN
-1.83 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Custom_Color.png
Diff not rendered.
Binary file removed
BIN
-6.19 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Dense.png
Diff not rendered.
Binary file removed
BIN
-1.23 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Exact_Fit.png
Diff not rendered.
Binary file removed
BIN
-13.1 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Flipped.png
Diff not rendered.
Binary file removed
BIN
-1.7 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Playground.png
Diff not rendered.
Binary file removed
BIN
-2.28 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Pulse.png
Diff not rendered.
Binary file removed
BIN
-14.3 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Rotated.png
Diff not rendered.
Binary file removed
BIN
-5.84 KB
...s/react/.loki/reference/chrome_laptop_Components_Koros_Rotated_In_Container.png
Diff not rendered.
Binary file removed
BIN
-2.12 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Vibration.png
Diff not rendered.
Binary file removed
BIN
-2.32 KB
packages/react/.loki/reference/chrome_laptop_Components_Koros_Wave.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
Oops, something went wrong.