From 58c63bf507d5c934586b9587bacab07323b4c633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marker=20dao=20=C2=AE?= Date: Wed, 6 Nov 2024 17:51:32 +0100 Subject: [PATCH] fix(list): Fix config for testAccessibility --- e2e/testcafe-devextreme/tests/accessibility/list.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/e2e/testcafe-devextreme/tests/accessibility/list.ts b/e2e/testcafe-devextreme/tests/accessibility/list.ts index 24efc58133b0..fefba67ef7c7 100644 --- a/e2e/testcafe-devextreme/tests/accessibility/list.ts +++ b/e2e/testcafe-devextreme/tests/accessibility/list.ts @@ -35,7 +35,7 @@ const configurationWithSimpleItems: Configuration = { testAccessibility(configurationWithSimpleItems); -const groupedItems = [[ +const groupedItems = [ { key: 'Mr. John Heart', items: ['Choose between PPO and HMO Health Plan', 'Google AdWords Strategy', 'New Brochures', 'Update NDA Agreement', 'Review Product Recall Report by Engineering Team'], @@ -64,7 +64,7 @@ const groupedItems = [[ key: 'Dr. Kent Samuelson', items: ['Update Sales Strategy Documents', 'Review Revenue Projections', 'Refund Request Template'], }, -]]; +]; const options: Options = { dataSource: [groupedItems], @@ -77,7 +77,6 @@ const options: Options = { selectionMode: ['all', 'multiple', 'none', 'single'], itemDeleteMode: ['toggle', 'context', 'slideButton', 'slideItem', 'static', 'swipe'], useNativeScrolling: [true, false], - groupTemplate: [(data) => `
${data.key}
`], }; const configuration: Configuration = {