mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-20 11:13:28 +00:00
* [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:
committed by
GitHub
parent
64a4ac81f2
commit
c09fb48eff
@@ -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