Skip to content

Commit

Permalink
Remove test since closeDropdownOnSelect: true isn't used in select-mu…
Browse files Browse the repository at this point in the history
…ltiple mode by default
  • Loading branch information
Xon committed Feb 26, 2025
1 parent 48eea87 commit 0acba2b
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions test-e2e/tests/select-multiple.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,6 @@ describe(`Choices - select multiple`, () => {
});
});

describe('click selected element', () => {
test('toggles the dropdown', async ({ page, bundle }) => {
const suite = new SelectTestSuit(page, bundle, testUrl, testId);
await suite.startWithClick();

const box = (await suite.itemList.locator('[data-item]').boundingBox())!;
await page.mouse.move(box.x + box.width / 2, box.y + box.height / 2);
await page.mouse.down();
await suite.advanceClock();
await suite.expectVisibleDropdown();

await page.mouse.up();
await suite.advanceClock();
await suite.expectHiddenDropdown();

await page.mouse.down();
await suite.advanceClock();
await suite.expectHiddenDropdown();

await page.mouse.up();
await suite.advanceClock();
await suite.expectVisibleDropdown();
});
});

describe('pressing an alpha-numeric key', () => {
test('opens the dropdown and the input value', async ({ page, bundle }) => {
const suite = new SelectTestSuit(page, bundle, testUrl, testId);
Expand Down

0 comments on commit 0acba2b

Please sign in to comment.