Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BenOsodrac committed Dec 10, 2024
1 parent 88519da commit bc4ff95
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions core/src/components/segment/test/states/segment.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { expect } from '@playwright/test';
import { configs, test } from '@utils/test/playwright';

configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
test.describe(title('segment: states'), () => {
test.describe(title('segment: states'), () => {
test('should render focused segment correctly', async ({ page }) => {
await page.setContent(
await page.setContent(
`
<ion-segment value="2">
<ion-segment-button value="1">
Expand All @@ -19,11 +19,11 @@ test.describe(title('segment: states'), () => {
</ion-segment>
`,
config
);
);

const segment = page.locator('ion-segment');
const segment = page.locator('ion-segment');

await expect(segment).toHaveScreenshot(screenshot(`segment-focused`));
await expect(segment).toHaveScreenshot(screenshot(`segment-focused`));
});
});
});
});
});

0 comments on commit bc4ff95

Please sign in to comment.