Skip to content

Commit c23f723

Browse files
committed
temp
1 parent 96cdf34 commit c23f723

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

packages/main/src/components/SelectDialog/SelectDialog.cy.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,16 +314,11 @@ describe('SelectDialog', () => {
314314
<ListItemStandard text={'ListItem 4'} data-testid="4" />
315315
</SelectDialog>,
316316
);
317-
// Note: announce() from @ui5/webcomponents-base sets textContent="" before setting the message,
318-
// creating a brief moment where the text is empty. A small delay ensures the DOM has settled in CI.
319317
cy.findByTestId('1').click();
320318
cy.findByTestId('1').should('have.attr', 'selected');
321-
cy.wait(50);
322319
cy.get('ui5-announcement-area').should('contain.text', 'Selected Items 1');
323320
cy.findByTestId('1').click();
324321
cy.findByTestId('1').should('not.have.attr', 'selected');
325-
cy.wait(50);
326-
cy.get('ui5-announcement-area').should('not.contain.text', 'Selected Items 1');
327322
cy.findByTestId('1').click();
328323
cy.findByTestId('1').should('have.attr', 'selected');
329324
cy.findByTestId('2').click();
@@ -332,7 +327,6 @@ describe('SelectDialog', () => {
332327
cy.findByTestId('3').should('have.attr', 'selected');
333328
cy.findByTestId('4').click();
334329
cy.findByTestId('4').should('have.attr', 'selected');
335-
cy.wait(50);
336330
cy.get('ui5-announcement-area').should('contain.text', 'Selected Items 4');
337331
});
338332
}

0 commit comments

Comments
 (0)