2
0
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:
Oliver
2025-11-22 17:20:49 +11:00
committed by GitHub
parent a7ff1250ba
commit e590522909
2 changed files with 19 additions and 1 deletions

View File

@@ -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' });