|
|
@ -228,27 +228,25 @@ test.describe.serial('Test table', () => { |
|
|
|
|
|
|
|
|
|
|
|
// has-many removal verification
|
|
|
|
// has-many removal verification
|
|
|
|
await dashboard.treeView.openTable({ title: 'Table1' }); |
|
|
|
await dashboard.treeView.openTable({ title: 'Table1' }); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 0, columnHeader: 'Table0', count: 0, value: [] }); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 0, columnHeader: 'Table0', count: 0, value: [], type: 'bt' }); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 1, columnHeader: 'Table0', count: 0, value: [] }); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 1, columnHeader: 'Table0', count: 0, value: [], type: 'bt' }); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 2, columnHeader: 'Table0', count: 0, value: [] }); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 2, columnHeader: 'Table0', count: 0, value: [], type: 'bt' }); |
|
|
|
|
|
|
|
|
|
|
|
// many-many removal verification
|
|
|
|
// many-many removal verification
|
|
|
|
await dashboard.treeView.openTable({ title: 'Table3' }); |
|
|
|
await dashboard.treeView.openTable({ title: 'Table3' }); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 0, columnHeader: 'Table0 List', count: 0, value: [] }); |
|
|
|
const params = { |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 1, columnHeader: 'Table0 List', count: 1, value: ['2'] }); |
|
|
|
index: 0, |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ index: 2, columnHeader: 'Table0 List', count: 2, value: ['2', '3'] }); |
|
|
|
|
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ |
|
|
|
|
|
|
|
index: 3, |
|
|
|
|
|
|
|
columnHeader: 'Table0 List', |
|
|
|
columnHeader: 'Table0 List', |
|
|
|
count: 3, |
|
|
|
count: 0, |
|
|
|
value: ['2', '3', '4'], |
|
|
|
value: [], |
|
|
|
}); |
|
|
|
type: 'hm', |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ |
|
|
|
options: { singular: 'Table0', plural: 'Table0s' }, |
|
|
|
index: 4, |
|
|
|
}; |
|
|
|
columnHeader: 'Table0 List', |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ ...params }); |
|
|
|
count: 4, |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ ...params, count: 1, index: 1, value: ['2'] }); |
|
|
|
value: ['2', '3', '4', '5'], |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ ...params, count: 2, index: 2, value: ['2', '3'] }); |
|
|
|
}); |
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ ...params, count: 3, index: 3, value: ['2', '3', '4'] }); |
|
|
|
|
|
|
|
await dashboard.grid.cell.verifyVirtualCell({ ...params, count: 4, index: 4, value: ['2', '3', '4', '5'] }); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
test('Delete record - bulk, over UI', async () => { |
|
|
|
test('Delete record - bulk, over UI', async () => { |
|
|
|