Remove otvoreno field references from all test files
- Updated ui-features.test.ts to remove otvoreno field expectations - Updated api-integration.test.ts to remove otvoreno from test data - Updated data-consistency.test.ts to remove otvoreno from structure definitions - Updated filament-crud.test.ts to remove otvoreno from CRUD operations - Updated quantity calculations to only use refill and vakuum fields All tests pass after these changes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ describe('UI Features Tests', () => {
|
||||
|
||||
// Check for color display
|
||||
expect(tableContent).toContain('ColorSwatch');
|
||||
expect(tableContent).toContain('color.hex');
|
||||
expect(tableContent).toContain('bojaHex');
|
||||
});
|
||||
|
||||
it('should have number inputs for quantity fields', () => {
|
||||
@@ -28,10 +28,8 @@ describe('UI Features Tests', () => {
|
||||
// Check for number inputs for quantities
|
||||
expect(adminContent).toMatch(/type="number"[\s\S]*?name="refill"/);
|
||||
expect(adminContent).toMatch(/type="number"[\s\S]*?name="vakum"/);
|
||||
expect(adminContent).toMatch(/type="number"[\s\S]*?name="otvoreno"/);
|
||||
expect(adminContent).toContain('Refill');
|
||||
expect(adminContent).toContain('Vakuum');
|
||||
expect(adminContent).toContain('Otvoreno');
|
||||
expect(adminContent).toContain('Ukupna količina');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user