Skip to content

Commit 326eb02

Browse files
committed
test(progress-bar): add shape snapshots
1 parent 2fbeade commit 326eb02

15 files changed

Lines changed: 10 additions & 1 deletion

core/src/components/progress-bar/test/buffer/progress-bar.e2e.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { expect } from '@playwright/test';
22
import { configs, test } from '@utils/test/playwright';
33

4+
/**
5+
* This behavior does not vary across modes/directions
6+
*/
47
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
58
test.describe(title('progress-bar: buffer'), () => {
69
test.describe('with a dynamic progress value', () => {

core/src/components/progress-bar/test/determinate/progress-bar.e2e.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { expect } from '@playwright/test';
22
import { configs, test } from '@utils/test/playwright';
33

4+
/**
5+
* This behavior does not vary across modes/directions
6+
*/
47
configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
58
test.describe(title('progress-bar: determinate'), () => {
69
test.describe('with a dynamic progress value', () => {

core/src/components/progress-bar/test/shape/progress-bar.e2e.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { expect } from '@playwright/test';
22
import { configs, test } from '@utils/test/playwright';
33

4-
configs({ directions: ['ltr'], modes: ['ionic-md'] }).forEach(({ title, screenshot, config }) => {
4+
/**
5+
* This behavior does not vary across directions
6+
*/
7+
configs({ directions: ['ltr'], modes: ['ios', 'md', 'ionic-md'] }).forEach(({ title, screenshot, config }) => {
58
test.describe(title('progress-bar: shape'), () => {
69
test('round - should not have visual regressions', async ({ page }) => {
710
await page.setContent(
Loading
Loading
Loading
Loading
Loading
Loading
257 Bytes
Loading

0 commit comments

Comments
 (0)