mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-14 22:20:59 +00:00
1 parent
6739bfea89
commit
de962f5144
1 file changed
+5
@@ -306,6 +306,9 @@ test('Forms - Nested Object Field', async ({ browser }) => {
|
|||||||
const partName = `Test Part ${new Date().getTime()}`;
|
const partName = `Test Part ${new Date().getTime()}`;
|
||||||
await page.getByLabel('text-field-name', { exact: true }).fill(partName);
|
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
|
// The "Initial Supplier" nested-object field should be visible and expanded by default
|
||||||
await page.getByText('Supplier Information').waitFor();
|
await page.getByText('Supplier Information').waitFor();
|
||||||
|
|
||||||
@@ -314,6 +317,8 @@ test('Forms - Nested Object Field', async ({ browser }) => {
|
|||||||
);
|
);
|
||||||
await expect(supplierField).toBeVisible();
|
await expect(supplierField).toBeVisible();
|
||||||
await supplierField.fill('Mouser');
|
await supplierField.fill('Mouser');
|
||||||
|
await page.waitForTimeout(100);
|
||||||
|
await page.waitForLoadState('networkidle');
|
||||||
await page.getByText('Mouser Electronics').first().click();
|
await page.getByText('Mouser Electronics').first().click();
|
||||||
|
|
||||||
const skuValue = `SKU-${new Date().getTime()}`;
|
const skuValue = `SKU-${new Date().getTime()}`;
|
||||||
|
|||||||
Reference in new issue
Block a user