Browse Source

qr scanner: tests - WIP

pull/5114/head
Daniel Spaude 1 year ago
parent
commit
aaa02e3983
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 9
      tests/playwright/tests/findRowByScanner.spec.ts

9
tests/playwright/tests/findRowByScanner.spec.ts

@ -23,10 +23,15 @@ test.describe.only('Find row by scanner', () => {
await dashboard.closeTab({ title: 'Team & Auth' });
await dashboard.treeView.openTable({ title: 'Country' });
await toolbar.clickFindRowByScanButton();
await dashboard.rootPage.pause();
});
test('opens the scanner overlay', async () => {
expect(2 + 2).toBe(6);
await dashboard.rootPage.pause();
expect(await dashboard.findRowByScanOverlay.isVisible()).toBeTruthy();
});
test.describe('selecting a column', () => {
// Selecting a column
// expect that the scanner screen is visible
});
});
});

Loading…
Cancel
Save