From bc1725970dcd92fb4ee8b2b0d43f292ab6f10240 Mon Sep 17 00:00:00 2001 From: monsieurswag Date: Fri, 13 Sep 2024 13:35:08 +0200 Subject: [PATCH] Add force option for number inputs in functional tests --- frontend/tests/utils/form-content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/tests/utils/form-content.ts b/frontend/tests/utils/form-content.ts index 64cf07485..552cdd06d 100644 --- a/frontend/tests/utils/form-content.ts +++ b/frontend/tests/utils/form-content.ts @@ -115,7 +115,7 @@ export class FormContent { case FormFieldType.DATE: await field.locator.clear(); case FormFieldType.NUMBER: - await field?.locator.fill(values[key].toString()); + await field?.locator.fill(values[key].toString(), { force: true }); default: await field?.locator.fill(values[key]); break;