fix: repair malformed SOA and expand release verification
This commit is contained in:
1 parent
5d7da681e7
commit
3623006f25
11 files changed
+106
-4
No files matched your search
@@ -35,6 +35,8 @@ test('a power user operates a large installation, with restart and edit conflict
|
||||
await first.page.goto('/');
|
||||
await expect(first.page.getByRole('link', { name: large, exact: true })).toBeVisible();
|
||||
const zonesMs = performance.now() - startZones;
|
||||
await first.page.locator('#zone-search').fill(large);
|
||||
await expect(first.page.getByRole('link', { name: zones[1], exact: true })).toHaveCount(0);
|
||||
const startZone = performance.now();
|
||||
await first.page.getByRole('link', { name: large, exact: true }).click();
|
||||
await expect(first.page.getByRole('rowheader', { name: 'seed-0000', exact: true })).toBeVisible();
|
||||
@@ -48,6 +50,24 @@ test('a power user operates a large installation, with restart and edit conflict
|
||||
});
|
||||
expect(zonesMs, 'zones page renders its links within 2 seconds').toBeLessThan(2000);
|
||||
expect(editMs, '10,000-record zone is interactive within 2 seconds').toBeLessThan(2000);
|
||||
const dialog = first.page.locator('#record-dialog');
|
||||
const close = dialog.getByRole('button', { name: 'Close' });
|
||||
const save = dialog.locator('#rec-submit');
|
||||
await save.focus();
|
||||
await first.page.keyboard.press('Tab');
|
||||
await expect(close).toBeFocused();
|
||||
await first.page.keyboard.press('Shift+Tab');
|
||||
await expect(save).toBeFocused();
|
||||
await first.page.keyboard.press('Escape');
|
||||
await first.page.locator('#filter-type').selectOption('A');
|
||||
await first.page.locator('#page-next').click();
|
||||
await expect(first.page.getByRole('rowheader', { name: 'seed-0000', exact: true })).toHaveCount(0);
|
||||
await first.page.locator('#filter-text').fill('seed-9997');
|
||||
await expect(first.page.getByRole('rowheader', { name: 'seed-9997', exact: true })).toBeVisible();
|
||||
await first.page.locator('#filter-type').selectOption('SOA');
|
||||
await expect(first.page.getByRole('rowheader', { name: 'seed-9997', exact: true })).toHaveCount(0);
|
||||
await first.openZone(large);
|
||||
await first.openEdit({ name: 'seed-0000', type: 'A' });
|
||||
await second.openZone(large);
|
||||
await second.openEdit({ name: 'seed-0000', type: 'A' });
|
||||
await restartWithSessions(world, first, second);
|
||||
|
||||
Reference in new issue
Block a user