Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions packages/main/cypress/specs/MultiComboBox.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -641,15 +641,15 @@ describe("General", () => {
}));
});

it.skip("Select All functionality + N-more integration", () => {
it("Select All functionality + N-more integration", () => {
cy.mount(
<><MultiComboBox style="width: 100px" noValidation={true} showSelectAll={true}>
<MultiComboBoxItem selected={true} text="Very Very Very Very long Item 1"></MultiComboBoxItem>
<MultiComboBoxItem selected={true} text="Item 2"></MultiComboBoxItem>
<MultiComboBoxItem selected={true} text="Item 3"></MultiComboBoxItem>
<MultiComboBoxItem text="Item 4"></MultiComboBoxItem>
<MultiComboBoxItem text="Item 5"></MultiComboBoxItem>
</MultiComboBox><Button id="dummyButton"></Button></>
</MultiComboBox><Button>Dummy Button</Button></>
);

cy.get("[ui5-multi-combobox]")
Expand All @@ -676,15 +676,13 @@ describe("General", () => {
.find(".ui5-mcb-select-all-checkbox")
.should("not.have.attr", "checked");

cy.get("#dummyButton")
.realClick();
// focus the dummy button to close the popover
cy.realPress("Tab");
cy.realPress("Tab");

cy.get<ResponsivePopover>("@popover")
.ui5ResponsivePopoverClosed();

cy.get("[ui5-multi-combobox]")
.should("not.be.focused");

cy.get("[ui5-multi-combobox]")
.shadow()
.find("[ui5-tokenizer]")
Expand Down
Loading