2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-06 20:11:37 +00:00

[UI] Fix serial and batch code generators (#9772)

* Tweak stock item form

- Fix batch code placeholder
- Fix serial number placeholder

* Tweak build output form

* More cleanup

* Fix for PurchaseOrderForm

* Refactoring placeholder values
This commit is contained in:
Oliver
2025-06-13 20:02:30 +10:00
committed by GitHub
parent 5bf94acc1a
commit b465900344
9 changed files with 136 additions and 157 deletions

View File

@@ -167,6 +167,8 @@ test('Build Order - Build Outputs', async ({ browser }) => {
.getByLabel('text-field-serial_numbers')
.getAttribute('placeholder');
expect(placeholder).toContain('Next serial number');
let sn = 1;
if (!!placeholder && placeholder.includes('Next serial number')) {