Skip to content

Commit

Permalink
Add number input type in functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Sep 11, 2024
1 parent 8bb987f commit e8549f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/tests/utils/form-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export enum FormFieldType {
SELECT = 'select',
SELECT_AUTOCOMPLETE = 'select-autocomplete',
SELECT_MULTIPLE_AUTOCOMPLETE = 'select-multi-autocomplete',
TEXT = 'text'
TEXT = 'text',
NUMBER = 'number'
}

type FormField = {
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/utils/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export const test = base.extend<Fixtures>({
{ name: 'expiry_date', type: type.DATE },
{ name: 'link', type: type.TEXT },
{ name: 'effort', type: type.SELECT },
{ name: 'cost', type: type.TEXT },
{ name: 'cost', type: type.NUMBER },
{ name: 'folder', type: type.SELECT_AUTOCOMPLETE },
{ name: 'reference_control', type: type.SELECT_AUTOCOMPLETE }
]);
Expand Down

0 comments on commit e8549f5

Please sign in to comment.