Skip to content

Commit

Permalink
fix(list): Fix config for testAccessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Nov 6, 2024
1 parent 7a1db25 commit 58c63bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e/testcafe-devextreme/tests/accessibility/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -64,7 +64,7 @@ const groupedItems = [[
key: 'Dr. Kent Samuelson',
items: ['Update Sales Strategy Documents', 'Review Revenue Projections', 'Refund Request Template'],
},
]];
];

const options: Options<Properties> = {
dataSource: [groupedItems],
Expand All @@ -77,7 +77,6 @@ const options: Options<Properties> = {
selectionMode: ['all', 'multiple', 'none', 'single'],
itemDeleteMode: ['toggle', 'context', 'slideButton', 'slideItem', 'static', 'swipe'],
useNativeScrolling: [true, false],
groupTemplate: [(data) => `<div>${data.key}</div>`],
};

const configuration: Configuration = {
Expand Down

0 comments on commit 58c63bf

Please sign in to comment.