mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-17 09:48:30 +00:00
[UI] Fix for PartTestResultTable (#10886)
* [UI] Fix for PartTestResultTable - Filter properly by part instance * Add a simple unit test * Tweak unit test
This commit is contained in:
@@ -581,6 +581,15 @@ test('Parts - Parameter Filtering', async ({ browser }) => {
|
||||
await page.getByText(/\/ 42\d/).waitFor();
|
||||
});
|
||||
|
||||
test('Parts - Test Results', async ({ browser }) => {
|
||||
const page = await doCachedLogin(browser, { url: '/part/74/test_results' });
|
||||
|
||||
await page.waitForTimeout(2500);
|
||||
|
||||
await page.getByText(/1 - \d+ \/ 1\d\d/).waitFor();
|
||||
await page.getByText('Blue Paint Applied').waitFor();
|
||||
});
|
||||
|
||||
test('Parts - Notes', async ({ browser }) => {
|
||||
const page = await doCachedLogin(browser, { url: 'part/69/notes' });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user