Browse Source

test: fix

pull/6360/head
DarkPhoenix2704 1 year ago
parent
commit
791209a4d7
  1. 9
      tests/playwright/tests/db/features/undo-redo.spec.ts

9
tests/playwright/tests/db/features/undo-redo.spec.ts

@ -609,16 +609,15 @@ test.describe('Undo Redo - LTAR', () => {
await grid.cell.inCellAdd({ index: 0, columnHeader: 'CityList' }); await grid.cell.inCellAdd({ index: 0, columnHeader: 'CityList' });
await dashboard.linkRecord.select('Mumbai'); await dashboard.linkRecord.select('Mumbai');
await grid.cell.inCellAdd({ index: 0, columnHeader: 'CityList' });
await dashboard.linkRecord.select('Delhi'); await dashboard.linkRecord.select('Delhi');
await dashboard.linkRecord.close();
await grid.cell.unlinkVirtualCell({ index: 0, columnHeader: 'CityList' }); await grid.cell.unlinkVirtualCell({ index: 0, columnHeader: 'CityList' });
await grid.cell.unlinkVirtualCell({ index: 1, columnHeader: 'CityList' }); await grid.cell.unlinkVirtualCell({ index: 0, columnHeader: 'CityList' });
await verifyRecords([]); await verifyRecords([]);
await undo({ page, values: ['Delhi'] }); await undo({ page, values: ['Mumbai'] });
await undo({ page, values: ['Mumbai', 'Delhi'] }); await undo({ page, values: ['Delhi', 'Mumbai'] });
await undo({ page, values: ['Mumbai'] }); await undo({ page, values: ['Mumbai'] });
await undo({ page, values: [] }); await undo({ page, values: [] });
}); });

Loading…
Cancel
Save