Skip to content

Commit

Permalink
feat: add test specs
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminic committed Dec 16, 2024
1 parent 672889f commit 7e00cc5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/pages/dataSetsWip/form/New.spec.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { generateDefaultAddFormTests } from '../../defaultFormTests'

generateDefaultAddFormTests({ componentName: 'Data set' })

xdescribe('Data set add form additional tests', () => {
it('contain all needed field', () => {})
it('should not submit when required values are missing', () => {})
it('should submit the data and return to the list view on success', () => {})
it('should show an error if name field is too long', () => {})
it('should show an error if short name field is too long', () => {})
it('should show an error if code field is too long', () => {})
it('should show an error if description field is too long', () => {})
it('should show an error if name field is already in use', () => {})
it('should show an error if short name field is already in use', () => {})
it('should show an error if code field is already in use', () => {})
})

0 comments on commit 7e00cc5

Please sign in to comment.