Skip to content

Commit ba8db58

Browse files
BenOsodracthetaPC
andauthored
Apply suggestions from code review
Co-authored-by: Maria Hutt <[email protected]>
1 parent 0cf5adb commit ba8db58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/components/range/test/states/range.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
7474
});
7575

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

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

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

93-
handle?.focus();
93+
handle.focus();
9494

9595
await expect(range).toHaveScreenshot(screenshot(`range-focus`));
9696
});

0 commit comments

Comments
 (0)