|
|
|
@ -120,6 +120,10 @@ test.describe('Verify shortcuts', () => {
|
|
|
|
|
title: 'Number', |
|
|
|
|
type: 'Number', |
|
|
|
|
}); |
|
|
|
|
await dashboard.grid.column.create({ |
|
|
|
|
title: 'PhoneNumber', |
|
|
|
|
type: 'PhoneNumber', |
|
|
|
|
}); |
|
|
|
|
await dashboard.grid.column.create({ |
|
|
|
|
title: 'SingleSelect', |
|
|
|
|
type: 'SingleSelect', |
|
|
|
@ -188,6 +192,15 @@ test.describe('Verify shortcuts', () => {
|
|
|
|
|
columnHeader: 'Number', |
|
|
|
|
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({ |
|
|
|
|
index: 0, |
|
|
|
|
columnHeader: 'Checkbox', |
|
|
|
@ -254,6 +267,12 @@ test.describe('Verify shortcuts', () => {
|
|
|
|
|
}); |
|
|
|
|
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( |
|
|
|
|
{ |
|
|
|
|
index: 0, |
|
|
|
|