Tweak playwright tests (#13012)

Robustify / reduce flakiness
This commit is contained in:
Oliver authored and GitHub committed 2026-10-14 11:48:59 +11:00
1 parent 6739bfea89
commit de962f5144
1 file changed
+5
+5
View File
@@ -306,6 +306,9 @@ test('Forms - Nested Object Field', async ({ browser }) => {
const partName = `Test Part ${new Date().getTime()}`;
await page.getByLabel('text-field-name', { exact: true }).fill(partName);
await page.waitForTimeout(100);
await page.waitForLoadState('networkidle');
// The "Initial Supplier" nested-object field should be visible and expanded by default
await page.getByText('Supplier Information').waitFor();
@@ -314,6 +317,8 @@ test('Forms - Nested Object Field', async ({ browser }) => {
);
await expect(supplierField).toBeVisible();
await supplierField.fill('Mouser');
await page.waitForTimeout(100);
await page.waitForLoadState('networkidle');
await page.getByText('Mouser Electronics').first().click();
const skuValue = `SKU-${new Date().getTime()}`;