Browse Source

test: decimal value with 2 level precision for copy paste test

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5187/head
Raju Udava 1 year ago
parent
commit
bed49e92e5
  1. 4
      tests/playwright/tests/keyboardShortcuts.spec.ts

4
tests/playwright/tests/keyboardShortcuts.spec.ts

@ -215,7 +215,7 @@ test.describe('Verify shortcuts', () => {
Email: 'test@example.com',
URL: 'nocodb.com',
Rating: '4',
Decimal: '1.1',
Decimal: '1.12',
Percent: '80',
Currency: '20',
Duration: '480',
@ -327,7 +327,7 @@ test.describe('Verify shortcuts', () => {
index: 0,
columnHeader: 'Decimal',
});
expect(await dashboard.grid.cell.getClipboardText()).toBe('1.1');
expect(await dashboard.grid.cell.getClipboardText()).toBe('1.12');
await dashboard.grid.cell.copyToClipboard({
index: 0,

Loading…
Cancel
Save