Skip to content

Commit dbc2f10

Browse files
committed
fix(textarea): fixing test
1 parent 9a9d32e commit dbc2f10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/components/input/test/basic/input.e2e.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
162162

163163
// Verify that the event target is the checkbox and not the item
164164
const event = clickEvent.events[0];
165-
expect((event.target as HTMLElement).tagName.toLowerCase()).toBe('input');
165+
expect((event.target as HTMLElement).tagName.toLowerCase()).toBe('ion-input');
166166
});
167167
});
168168
});

core/src/components/textarea/test/basic/textarea.e2e.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
2525

2626
// Verify that the event target is the checkbox and not the item
2727
const event = clickEvent.events[0];
28-
expect((event.target as HTMLElement).tagName.toLowerCase()).toBe('textarea');
28+
expect((event.target as HTMLElement).tagName.toLowerCase()).toBe('ion-textarea');
2929
});
3030
});
3131
});

0 commit comments

Comments
 (0)