|
|
@ -30,7 +30,7 @@ test.describe('GroupBy CRUD Operations', () => { |
|
|
|
let context: any; |
|
|
|
let context: any; |
|
|
|
|
|
|
|
|
|
|
|
test.beforeEach(async ({ page }) => { |
|
|
|
test.beforeEach(async ({ page }) => { |
|
|
|
context = await setup({ page, isEmptyProject: true }); |
|
|
|
context = await setup({ page, isEmptyProject: false }); |
|
|
|
dashboard = new DashboardPage(page, context.project); |
|
|
|
dashboard = new DashboardPage(page, context.project); |
|
|
|
toolbar = dashboard.grid.toolbar; |
|
|
|
toolbar = dashboard.grid.toolbar; |
|
|
|
topbar = dashboard.grid.topbar; |
|
|
|
topbar = dashboard.grid.topbar; |
|
|
@ -252,19 +252,17 @@ test.describe('GroupBy CRUD Operations', () => { |
|
|
|
test('Single GroupBy CRUD Operations - Links', async ({ page }) => { |
|
|
|
test('Single GroupBy CRUD Operations - Links', async ({ page }) => { |
|
|
|
await dashboard.treeView.openTable({ title: 'Film' }); |
|
|
|
await dashboard.treeView.openTable({ title: 'Film' }); |
|
|
|
|
|
|
|
|
|
|
|
await toolbar.sort.add({ title: 'Actors', ascending: true, locallySaved: false }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await toolbar.clickGroupBy(); |
|
|
|
await toolbar.clickGroupBy(); |
|
|
|
|
|
|
|
|
|
|
|
await toolbar.groupBy.add({ title: 'Actors', ascending: false, locallySaved: false }); |
|
|
|
await toolbar.groupBy.add({ title: 'Actors', ascending: false, locallySaved: false }); |
|
|
|
|
|
|
|
|
|
|
|
await dashboard.grid.groupPage.openGroup({ indexMap: [0] }); |
|
|
|
await dashboard.grid.groupPage.openGroup({ indexMap: [2] }); |
|
|
|
|
|
|
|
|
|
|
|
await dashboard.grid.groupPage.addNewRow({ |
|
|
|
await dashboard.grid.groupPage.validateFirstRow({ |
|
|
|
indexMap: [0], |
|
|
|
indexMap: [2], |
|
|
|
index: 10, |
|
|
|
rowIndex: 0, |
|
|
|
columnHeader: 'Item', |
|
|
|
columnHeader: 'Title', |
|
|
|
value: 'Aaaaaaaaaaaaaaaaaaaa', |
|
|
|
value: 'ARABIA DOGMA', |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|