Skip to content

Commit c6cec21

Browse files
authored
Update toggle.e2e.ts
1 parent 3ad1959 commit c6cec21

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ import { configs, test } from '@utils/test/playwright';
33

44
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
55
test.describe(title('toggle: click'), () => {
6-
test('should trigger onclick only once when clicking the label', async ({ page }) => {
6+
test('should trigger onclick only once when clicking the label', async ({ page }, testInfo) => {
7+
testInfo.annotations.push({
8+
type: 'issue',
9+
description: 'https://github.com/ionic-team/ionic-framework/issues/30165',
10+
});
11+
712
// Create a spy function in page context
813
await page.setContent(`<ion-toggle onclick="console.log('click called')">my label</ion-toggle>`, config);
914

0 commit comments

Comments
 (0)