test: wait for the record list after SOA deletion
Test / test (push) Successful in 14m8s

This commit is contained in:
bryanpedini committed 2026-11-20 15:38:42 +01:00
1 parent 9d087608d3
commit ee07866d1c
1 file changed
+1
+1
View File
@@ -645,6 +645,7 @@ test.describe('core flow', () => {
expect((await ui.problems()).some((p) => p.code === 'soa_multiple')).toBe(true); expect((await ui.problems()).some((p) => p.code === 'soa_multiple')).toBe(true);
await ui.deleteRecord({ name: '@', type: 'SOA' }, { expectStatus: 200 }); await ui.deleteRecord({ name: '@', type: 'SOA' }, { expectStatus: 200 });
expect(await world.db.recordById(soa.id)).toBeUndefined(); expect(await world.db.recordById(soa.id)).toBeUndefined();
await ui.expectNoRow({ name: '@', type: 'SOA' });
const row = await ui.row({ name: 'sub', type: 'SOA' }); const row = await ui.row({ name: 'sub', type: 'SOA' });
await row.getByRole('button', { name: /^Edit / }).click(); await row.getByRole('button', { name: /^Edit / }).click();
await expect(ui.page.locator('#soa-dialog')).toBeVisible(); await expect(ui.page.locator('#soa-dialog')).toBeVisible();