Skip to content

Commit

Permalink
Edit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tongsonbarbs committed Jul 24, 2024
1 parent 96ecb97 commit d2dd91e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions e2e/testcafe-devextreme/tests/dataGrid/tagBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ test('Datagrid tagbox column should not look broken', async (t) => {
.expect(compareResults.isValid())
.ok(compareResults.errorMessages());
}).before(async () => {
const items = Array.from({ length: 10 }, (_, index) => ({
id: index + 1,
text: `item ${index + 1}`,
}));
await createWidget('dxDataGrid', {
showBorders: true,
allowColumnResizing: true,
Expand All @@ -38,7 +34,10 @@ test('Datagrid tagbox column should not look broken', async (t) => {
columns: ['id', {
dataField: 'items',
lookup: {
dataSource: items,
dataSource: Array.from({ length: 10 }, (_, index) => ({
id: index + 1,
text: `item ${index + 1}`,
})),
valueExpr: 'id',
displayExpr: 'text',
},
Expand Down

0 comments on commit d2dd91e

Please sign in to comment.