Skip to content

Commit 9a15c3c

Browse files
committed
test(segment): update to consistent test titles
1 parent e453b78 commit 9a15c3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/components/segment/test/layout/segment.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { configs, test } from '@utils/test/playwright';
77
configs({ modes: ['ios', 'md', 'ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
88
test.describe(title('segment: layout'), () => {
99
['icon-top', 'icon-bottom', 'icon-start', 'icon-end'].forEach((layout) => {
10-
test(`${layout} - should not have visual regressions`, async ({ page }) => {
10+
test(`${layout} layout - should not have visual regressions`, async ({ page }) => {
1111
await page.setContent(
1212
`
1313
<ion-segment value="a">
@@ -34,7 +34,7 @@ configs({ modes: ['ios', 'md', 'ionic-md'], directions: ['ltr'] }).forEach(({ ti
3434
});
3535
});
3636

37-
test('should not have visual regressions with icon only layout', async ({ page }) => {
37+
test('icon only layout - should not have visual regressions', async ({ page }) => {
3838
await page.setContent(
3939
`
4040
<ion-segment value="a">
@@ -57,7 +57,7 @@ configs({ modes: ['ios', 'md', 'ionic-md'], directions: ['ltr'] }).forEach(({ ti
5757
await expect(segment).toHaveScreenshot(screenshot(`segment-layout-icon-only`));
5858
});
5959

60-
test('should not have visual regressions with label only layout', async ({ page }) => {
60+
test('label only layout - should not have visual regressions', async ({ page }) => {
6161
await page.setContent(
6262
`
6363
<ion-segment value="a">

0 commit comments

Comments
 (0)