2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-20 11:13:28 +00:00

[UI] Fix for PartTestResultTable (#10886) (#10889)

* [UI] Fix for PartTestResultTable

- Filter properly by part instance

* Add a simple unit test

* Tweak unit test

(cherry picked from commit e590522909)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot]
2025-11-22 18:02:15 +11:00
committed by GitHub
parent 64a4ac81f2
commit c09fb48eff
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' });