Skip to content

Commit 309046a

Browse files
committed
test(ui5-multi-combobox): Stabilize test
1 parent e466e5e commit 309046a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

packages/main/cypress/specs/MultiComboBox.mobile.cy.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@ describe("Items selection", () => {
298298
cy.get("@input")
299299
.realClick();
300300

301+
cy.get("[ui5-multi-combobox]")
302+
.shadow()
303+
.find<ResponsivePopover>("[ui5-responsive-popover]")
304+
.ui5ResponsivePopoverOpened();
305+
301306
cy.get("[ui5-multi-combobox]")
302307
.find("[ui5-mcb-item]")
303308
.eq(0)
@@ -331,6 +336,11 @@ describe("Items selection", () => {
331336
.find("input")
332337
.realClick();
333338

339+
cy.get("[ui5-multi-combobox]")
340+
.shadow()
341+
.find<ResponsivePopover>("[ui5-responsive-popover]")
342+
.ui5ResponsivePopoverOpened();
343+
334344
cy.get("[ui5-multi-combobox]")
335345
.find("[ui5-mcb-item]")
336346
.eq(0)
@@ -484,6 +494,11 @@ describe("Items selection", () => {
484494
.find("input")
485495
.realClick();
486496

497+
cy.get("[ui5-multi-combobox]")
498+
.shadow()
499+
.find<ResponsivePopover>("[ui5-responsive-popover]")
500+
.ui5ResponsivePopoverOpened();
501+
487502
cy.get("[ui5-multi-combobox]")
488503
.shadow()
489504
.find("[ui5-responsive-popover]")
@@ -628,6 +643,11 @@ describe("Eventing", () => {
628643
.find("input")
629644
.realClick();
630645

646+
cy.get("[ui5-multi-combobox]")
647+
.shadow()
648+
.find<ResponsivePopover>("[ui5-responsive-popover]")
649+
.ui5ResponsivePopoverOpened();
650+
631651
cy.get("[ui5-multi-combobox]")
632652
.find("[ui5-mcb-item]")
633653
.eq(0)

0 commit comments

Comments
 (0)