File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
core/src/components/toggle/test/basic Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,12 @@ import { configs, test } from '@utils/test/playwright';
33
44configs ( { 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
You can’t perform that action at this time.
0 commit comments