mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-22 00:47:38 +00:00
Fix glitch in <RelatedModelField /> (#10113)
* Fix glitch in <RelatedModelField /> - Prevent search reset until debounced value changes - * Robustify playwright tests * Further playwright tweaks * Further playwright tweaks
This commit is contained in:
@@ -199,12 +199,15 @@ test('Parts - Details', async ({ browser }) => {
|
||||
await page.getByText('Can Build').waitFor();
|
||||
|
||||
await page.getByText('0 / 10').waitFor();
|
||||
await page.getByText('4 / 49').waitFor();
|
||||
|
||||
// Depending on the state of other tests, the "In Production" value may vary
|
||||
// This could be either 4 / 49, or 5 / 49
|
||||
await page.getByText(/[4|5] \/ 49/).waitFor();
|
||||
|
||||
// Badges
|
||||
await page.getByText('Required: 10').waitFor();
|
||||
await page.getByText('No Stock').waitFor();
|
||||
await page.getByText('In Production: 4').waitFor();
|
||||
await page.getByText(/In Production: [4|5]/).waitFor();
|
||||
|
||||
await page.getByText('Creation Date').waitFor();
|
||||
await page.getByText('2022-04-29').waitFor();
|
||||
|
||||
Reference in New Issue
Block a user