Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Maria Hutt <[email protected]>
  • Loading branch information
BenOsodrac and thetaPC authored Dec 12, 2024
1 parent 0cf5adb commit ba8db58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/components/range/test/states/range.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
});

configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
test.describe(title('range: focus'), () => {
test.describe(title('range: states'), () => {
test('should render focus state', async ({ page }) => {
await page.setContent(
`
Expand All @@ -88,9 +88,9 @@ configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ title, screensh

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

const handle = await range.locator('.range-knob-handle');
const handle = range.locator('.range-knob-handle');

handle?.focus();
handle.focus();

await expect(range).toHaveScreenshot(screenshot(`range-focus`));
});
Expand Down

0 comments on commit ba8db58

Please sign in to comment.