diff --git a/testing/e2e/app/routes/ComboBox/route.tsx b/testing/e2e/app/routes/ComboBox/route.tsx
index 234a7ab0b67..89d348c86e6 100644
--- a/testing/e2e/app/routes/ComboBox/route.tsx
+++ b/testing/e2e/app/routes/ComboBox/route.tsx
@@ -5,9 +5,6 @@ import * as React from 'react';
export default function ComboBoxTest() {
const config = getConfigFromSearchParams();
- if (config.exampleType === 'overflow') {
- return ;
- }
return ;
}
@@ -47,37 +44,12 @@ const Default = ({
);
};
-const Overflow = () => {
- const data = new Array(15).fill(0).map((_, i) => ({
- label: `option ${i}`,
- value: i,
- }));
- const widths = new Array(10).fill(0).map((_, i) => 790 + i * 3);
-
- return (
- <>
- {widths.slice(0, 10).map((width) => (
- x.value)}
- />
- ))}
- >
- );
-};
-
// ----------------------------------------------------------------------------
function getConfigFromSearchParams() {
const [searchParams] = useSearchParams();
- const exampleType = searchParams.get('exampleType') as
- | 'default'
- | 'overflow'
- | undefined;
+ const exampleType = searchParams.get('exampleType') as 'default' | undefined;
const virtualization = searchParams.get('virtualization') === 'true';
const multiple = searchParams.get('multiple') === 'true';
const showChangeValueButton =
diff --git a/testing/e2e/app/routes/ComboBox/spec.ts b/testing/e2e/app/routes/ComboBox/spec.ts
index bfacf120e78..81d408ae929 100644
--- a/testing/e2e/app/routes/ComboBox/spec.ts
+++ b/testing/e2e/app/routes/ComboBox/spec.ts
@@ -74,31 +74,6 @@ test('should select multiple options', async ({ page }) => {
});
});
-test('should not have flickering tags (fixes #2112)', async ({ page }) => {
- await page.goto('/ComboBox?exampleType=overflow');
-
- const selectTagContainers = page.locator(
- "[role='combobox'] + div:first-of-type",
- );
-
- // Wait for page to stabilize
- await expect(selectTagContainers).toHaveCount(10);
- for (let i = 0; i < 10; i++) {
- await expect(selectTagContainers.nth(i).locator('> span')).toHaveCount(
- i < 5 ? 6 : 7,
- );
- }
-
- // The number of items should not change with time (i.e. no flickering)
- for (let iteration = 0; iteration < 10; iteration++) {
- for (let i = 0; i < 10; i++) {
- expect(selectTagContainers.nth(i).locator('> span')).toHaveCount(
- i < 5 ? 6 : 7,
- );
- }
- }
-});
-
test.describe('ComboBox (virtualization)', () => {
test('should support keyboard navigation when virtualization is enabled', async ({
page,