diff --git a/e2e/package-lock.json b/e2e/package-lock.json index f57e5e482..e1e24d6a2 100644 --- a/e2e/package-lock.json +++ b/e2e/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "devDependencies": { - "@faker-js/faker": "^8.3.1", + "@faker-js/faker": "^8.4.1", "@playwright/test": "^1.48.0", "@types/lodash.clonedeep": "^4.5.9", "@types/node": "^20.16.11", @@ -18,9 +18,9 @@ } }, "node_modules/@faker-js/faker": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.3.1.tgz", - "integrity": "sha512-FdgpFxY6V6rLZE9mmIBb9hM0xpfvQOSNOLnzolzKwsE1DH+gC7lEKV1p1IbR0lAYyvYd5a4u3qWJzowUkw1bIw==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.4.1.tgz", + "integrity": "sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==", "dev": true, "funding": [ { @@ -28,6 +28,7 @@ "url": "https://opencollective.com/fakerjs" } ], + "license": "MIT", "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0", "npm": ">=6.14.13" diff --git a/e2e/package.json b/e2e/package.json index 290151488..17237d3fd 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -12,7 +12,7 @@ "author": "", "license": "ISC", "devDependencies": { - "@faker-js/faker": "^8.3.1", + "@faker-js/faker": "^8.4.1", "@playwright/test": "^1.48.0", "@types/lodash.clonedeep": "^4.5.9", "@types/node": "^20.16.11", diff --git a/e2e/utils/data/application/application_data_29.ts b/e2e/utils/data/application/application_data_29.ts index eeeb46089..e56bb7ce9 100644 --- a/e2e/utils/data/application/application_data_29.ts +++ b/e2e/utils/data/application/application_data_29.ts @@ -155,7 +155,7 @@ const baseForm_29: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -207,7 +207,7 @@ const baseForm_29: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -287,7 +287,7 @@ const baseForm_29: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -339,7 +339,7 @@ const baseForm_29: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -400,7 +400,7 @@ const baseForm_29: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -408,7 +408,7 @@ const baseForm_29: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_48.ts b/e2e/utils/data/application/application_data_48.ts index dcddaa368..52ab034a8 100644 --- a/e2e/utils/data/application/application_data_48.ts +++ b/e2e/utils/data/application/application_data_48.ts @@ -179,7 +179,7 @@ const baseForm_48: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -231,7 +231,7 @@ const baseForm_48: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -287,7 +287,7 @@ const baseForm_48: FormData = { value: faker.number.float({ min: 1, max: 100, - precision: 2 + multipleOf: 2 }).toString(), }, "edit-osa-aikainen-henkilosto": { @@ -299,7 +299,7 @@ const baseForm_48: FormData = { value: faker.number.float({ min: 1, max: 100, - precision: 2 + multipleOf: 2 }).toString(), }, "edit-vapaaehtoinen-henkilosto": { diff --git a/e2e/utils/data/application/application_data_49.ts b/e2e/utils/data/application/application_data_49.ts index e6800b1b1..c37dde4c0 100644 --- a/e2e/utils/data/application/application_data_49.ts +++ b/e2e/utils/data/application/application_data_49.ts @@ -205,7 +205,7 @@ const baseForm_49: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -257,7 +257,7 @@ const baseForm_49: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_51.ts b/e2e/utils/data/application/application_data_51.ts index 470302468..b8749458e 100644 --- a/e2e/utils/data/application/application_data_51.ts +++ b/e2e/utils/data/application/application_data_51.ts @@ -146,7 +146,7 @@ const baseFormRegisteredCommunity_51: FormData = { // value: faker.number.float({ // min: 1000, // max: 10000, - // precision: 2 + // multipleOf: 2 // }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -198,7 +198,7 @@ const baseFormRegisteredCommunity_51: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -260,7 +260,7 @@ const baseFormRegisteredCommunity_51: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -268,7 +268,7 @@ const baseFormRegisteredCommunity_51: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_52.ts b/e2e/utils/data/application/application_data_52.ts index 69bbba870..40690b006 100644 --- a/e2e/utils/data/application/application_data_52.ts +++ b/e2e/utils/data/application/application_data_52.ts @@ -140,7 +140,7 @@ const baseFormRegisteredCommunity_52: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -192,7 +192,7 @@ const baseFormRegisteredCommunity_52: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -363,7 +363,7 @@ const baseFormRegisteredCommunity_52: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency }, diff --git a/e2e/utils/data/application/application_data_54.ts b/e2e/utils/data/application/application_data_54.ts index 7c3bbebc8..3265cc749 100644 --- a/e2e/utils/data/application/application_data_54.ts +++ b/e2e/utils/data/application/application_data_54.ts @@ -159,7 +159,7 @@ const baseFormRegisteredCommunity_54: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -211,7 +211,7 @@ const baseFormRegisteredCommunity_54: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -292,7 +292,7 @@ const baseFormRegisteredCommunity_54: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -344,7 +344,7 @@ const baseFormRegisteredCommunity_54: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -411,7 +411,7 @@ const baseFormRegisteredCommunity_54: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -419,7 +419,7 @@ const baseFormRegisteredCommunity_54: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_57.ts b/e2e/utils/data/application/application_data_57.ts index 8a2a6bed9..968ef4df4 100644 --- a/e2e/utils/data/application/application_data_57.ts +++ b/e2e/utils/data/application/application_data_57.ts @@ -155,7 +155,7 @@ const baseFormRegisteredCommunity_57: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -207,7 +207,7 @@ const baseFormRegisteredCommunity_57: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -288,7 +288,7 @@ const baseFormRegisteredCommunity_57: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -340,7 +340,7 @@ const baseFormRegisteredCommunity_57: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_60.ts b/e2e/utils/data/application/application_data_60.ts index d1ee776eb..a5c02811d 100644 --- a/e2e/utils/data/application/application_data_60.ts +++ b/e2e/utils/data/application/application_data_60.ts @@ -168,7 +168,7 @@ const baseFormRegisteredCommunity_60: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -220,7 +220,7 @@ const baseFormRegisteredCommunity_60: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_61.ts b/e2e/utils/data/application/application_data_61.ts index fe5db8dc3..fb2b00853 100644 --- a/e2e/utils/data/application/application_data_61.ts +++ b/e2e/utils/data/application/application_data_61.ts @@ -138,7 +138,7 @@ const baseFormRegisteredCommunity_61: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -190,7 +190,7 @@ const baseFormRegisteredCommunity_61: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -256,7 +256,7 @@ const baseFormRegisteredCommunity_61: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -264,7 +264,7 @@ const baseFormRegisteredCommunity_61: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_62.ts b/e2e/utils/data/application/application_data_62.ts index 03e9e0bdc..ccf930a73 100644 --- a/e2e/utils/data/application/application_data_62.ts +++ b/e2e/utils/data/application/application_data_62.ts @@ -145,7 +145,7 @@ const baseFormRegisteredCommunity_62: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -197,7 +197,7 @@ const baseFormRegisteredCommunity_62: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -278,7 +278,7 @@ const baseFormRegisteredCommunity_62: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -330,7 +330,7 @@ const baseFormRegisteredCommunity_62: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_63.ts b/e2e/utils/data/application/application_data_63.ts index b21278433..30f24eaa0 100644 --- a/e2e/utils/data/application/application_data_63.ts +++ b/e2e/utils/data/application/application_data_63.ts @@ -145,7 +145,7 @@ const baseFormRegisteredCommunity_63: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -197,7 +197,7 @@ const baseFormRegisteredCommunity_63: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -278,7 +278,7 @@ const baseFormRegisteredCommunity_63: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -330,7 +330,7 @@ const baseFormRegisteredCommunity_63: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_67.ts b/e2e/utils/data/application/application_data_67.ts index a27923986..52675d8a4 100644 --- a/e2e/utils/data/application/application_data_67.ts +++ b/e2e/utils/data/application/application_data_67.ts @@ -140,7 +140,7 @@ const baseFormRegisteredCommunity_67: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -192,7 +192,7 @@ const baseFormRegisteredCommunity_67: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -272,7 +272,7 @@ const baseFormRegisteredCommunity_67: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -324,7 +324,7 @@ const baseFormRegisteredCommunity_67: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, diff --git a/e2e/utils/data/application/application_data_68.ts b/e2e/utils/data/application/application_data_68.ts index 0e43e5ea7..718707509 100644 --- a/e2e/utils/data/application/application_data_68.ts +++ b/e2e/utils/data/application/application_data_68.ts @@ -157,7 +157,7 @@ const baseFormRegisteredCommunity_68: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -209,7 +209,7 @@ const baseFormRegisteredCommunity_68: FormData = { value: faker.number.float({ min: 1000, max: 10000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -264,7 +264,7 @@ const baseFormRegisteredCommunity_68: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, }, @@ -272,7 +272,7 @@ const baseFormRegisteredCommunity_68: FormData = { value: faker.number.float({ min: 100, max: 1000, - precision: 2 + multipleOf: 2 }).toString(), viewPageFormatter: viewPageFormatCurrency, },