|
|
@ -120,6 +120,10 @@ test.describe('Verify shortcuts', () => { |
|
|
|
title: 'Number', |
|
|
|
title: 'Number', |
|
|
|
type: 'Number', |
|
|
|
type: 'Number', |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
await dashboard.grid.column.create({ |
|
|
|
|
|
|
|
title: 'PhoneNumber', |
|
|
|
|
|
|
|
type: 'PhoneNumber', |
|
|
|
|
|
|
|
}); |
|
|
|
await dashboard.grid.column.create({ |
|
|
|
await dashboard.grid.column.create({ |
|
|
|
title: 'SingleSelect', |
|
|
|
title: 'SingleSelect', |
|
|
|
type: 'SingleSelect', |
|
|
|
type: 'SingleSelect', |
|
|
@ -188,6 +192,15 @@ test.describe('Verify shortcuts', () => { |
|
|
|
columnHeader: 'Number', |
|
|
|
columnHeader: 'Number', |
|
|
|
text: '123', |
|
|
|
text: '123', |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
await dashboard.grid.cell.click({ |
|
|
|
|
|
|
|
index: 0, |
|
|
|
|
|
|
|
columnHeader: 'PhoneNumber', |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
await dashboard.grid.cell.fillText({ |
|
|
|
|
|
|
|
index: 0, |
|
|
|
|
|
|
|
columnHeader: 'PhoneNumber', |
|
|
|
|
|
|
|
text: '987654321', |
|
|
|
|
|
|
|
}); |
|
|
|
await dashboard.grid.cell.click({ |
|
|
|
await dashboard.grid.cell.click({ |
|
|
|
index: 0, |
|
|
|
index: 0, |
|
|
|
columnHeader: 'Checkbox', |
|
|
|
columnHeader: 'Checkbox', |
|
|
@ -254,6 +267,12 @@ test.describe('Verify shortcuts', () => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
expect(await dashboard.grid.cell.getClipboardText()).toBe('123'); |
|
|
|
expect(await dashboard.grid.cell.getClipboardText()).toBe('123'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await dashboard.grid.cell.copyToClipboard({ |
|
|
|
|
|
|
|
index: 0, |
|
|
|
|
|
|
|
columnHeader: 'PhoneNumber', |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
expect(await dashboard.grid.cell.getClipboardText()).toBe('987654321'); |
|
|
|
|
|
|
|
|
|
|
|
await dashboard.grid.cell.copyToClipboard( |
|
|
|
await dashboard.grid.cell.copyToClipboard( |
|
|
|
{ |
|
|
|
{ |
|
|
|
index: 0, |
|
|
|
index: 0, |
|
|
|