Browse Source

qrcode: add more playwright tests

pr-4468-qr-code-extraction
Daniel Spaude 2 years ago
parent
commit
013a8a12e8
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 16
      tests/playwright/tests/columnQrCode.spec.ts

16
tests/playwright/tests/columnQrCode.spec.ts

@ -90,6 +90,22 @@ test.describe('Virtual Columns', () => {
];
await qrCodeColumnVerify('QrCode1', expectedQrCodeCellValuesAfterCityNameChange);
// Change the QR Code column title
await dashboard.grid.column.openEdit({ title: 'QrCode1' });
await dashboard.grid.column.fillTitle({ title: 'QrCode1 Renamed' });
await dashboard.grid.column.save({ isUpdated: true });
await qrCodeColumnVerify('QrCode1 Renamed', expectedQrCodeCellValuesAfterCityNameChange);
// Change the referenced column title
await dashboard.grid.column.openEdit({ title: 'City' });
await dashboard.grid.column.fillTitle({ title: 'City Renamed' });
await dashboard.grid.column.save({ isUpdated: true });
await qrCodeColumnVerify('QrCode1 Renamed', expectedQrCodeCellValuesAfterCityNameChange);
// Change to another referenced column
await dashboard.closeTab({ title: 'City' });
});

Loading…
Cancel
Save