File tree Expand file tree Collapse file tree
packages/main/src/components/SelectDialog Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,8 +304,10 @@ describe('SelectDialog', () => {
304304 cy . findByTestId ( 'confirmBtn' ) . should ( 'have.attr' , 'design' , 'Emphasized' ) ;
305305 } ) ;
306306
307- for ( let i = 0 ; i <= 100 ; ++ i ) {
308- it . only ( 'invisible messaging' , ( ) => {
307+ for ( let i = 0 ; i <= 300 ; ++ i ) {
308+ it ( 'invisible messaging' , ( ) => {
309+ // do not remove content of ui5wc invisible message
310+ cy . clock ( ) ;
309311 cy . mount (
310312 < SelectDialog open selectionMode = { ListSelectionMode . Multiple } >
311313 < ListItemStandard text = { 'ListItem 1' } data-testid = "1" />
@@ -314,7 +316,8 @@ describe('SelectDialog', () => {
314316 < ListItemStandard text = { 'ListItem 4' } data-testid = "4" />
315317 </ SelectDialog > ,
316318 ) ;
317- cy . get ( 'ui5-announcement-area' ) . should ( 'exist' ) ;
319+
320+ cy . get ( 'ui5-announcement-area .ui5-invisiblemessage-polite' ) . should ( 'exist' ) ;
318321 cy . findByTestId ( '1' ) . click ( ) ;
319322 cy . findByTestId ( '1' ) . should ( 'have.attr' , 'selected' ) ;
320323 cy . get ( 'ui5-announcement-area' ) . should ( 'contain.text' , 'Selected Items 1' ) ;
You can’t perform that action at this time.
0 commit comments