Description
The k6 tests for the composed-email endpoint (orders-composed-email-v2.js) fail in TT02 and PROD because the Maskinporten client used by the test runner does not have the required scope.
The scope altinn:serviceowner/notifications.composedemail.create must be registered on the Maskinporten client (mpClientId) in both environments.
The composed-email test steps have been temporarily disabled in the TT02 and PROD workflows and must be re-enabled after the scope is registered.
All AT environments (AT22, AT23, AT24) pass since they use the token generator for authentication instead of Maskinporten.
Related: #1756, #1814
Steps
Description
The k6 tests for the composed-email endpoint (
orders-composed-email-v2.js) fail in TT02 and PROD because the Maskinporten client used by the test runner does not have the required scope.The scope
altinn:serviceowner/notifications.composedemail.createmust be registered on the Maskinporten client (mpClientId) in both environments.The composed-email test steps have been temporarily disabled in the TT02 and PROD workflows and must be re-enabled after the scope is registered.
All AT environments (AT22, AT23, AT24) pass since they use the token generator for authentication instead of Maskinporten.
Related: #1756, #1814
Steps
altinn:serviceowner/notifications.composedemail.createon the Maskinporten client in TT02 (Samarbeidsportalen)altinn:serviceowner/notifications.composedemail.createon the Maskinporten client in PROD (Samarbeidsportalen)use-case-TT02.yamluse-case-PROD.yamlregression-test-TT02.yamlregression-test-PROD.yaml