Affected file:
[shopware/shopware] - Repo ->
tests/acceptance/tests/Forms/GoogleReCaptchaV2Login.spec.ts
tests/acceptance/tests/Settings/Wishlist/WishlistGuestFunctionalities.spec.ts
tests/acceptance/tests/Forms/GoogleReCaptchaV2UI.spec.ts
tests/acceptance/tests/Forms/GoogleReCaptchaV3UI.spec.ts
Workaround:
SystemConfig set directly within the test in beforeEach function.
Expected behaviour:
Using of following snippet should pass the test:
await TestDataService.setSystemConfig({
'core.basicInformation.activeCaptchasV2': {
googleReCaptchaV2: {
name: 'googleReCaptchaV2',
isActive: true,
config: {
siteKey: reCaptcha_V2_site_key,
secretKey: reCaptcha_V2_secret_key,
invisible: true,
},
},
},
});
});
Additionally, it is also not working with the following test: tests/acceptance/tests/Settings/Wishlist/WishlistGuestFunctionalities.spec.ts
Technical notes:
- Check the Test: SystemConfig.spec.ts (in ATS Repo) and extend test if necessary
Affected file:
[shopware/shopware] - Repo ->
tests/acceptance/tests/Forms/GoogleReCaptchaV2Login.spec.tstests/acceptance/tests/Settings/Wishlist/WishlistGuestFunctionalities.spec.tstests/acceptance/tests/Forms/GoogleReCaptchaV2UI.spec.tstests/acceptance/tests/Forms/GoogleReCaptchaV3UI.spec.tsWorkaround:
SystemConfig set directly within the test in
beforeEachfunction.Expected behaviour:
Using of following snippet should pass the test:
Additionally, it is also not working with the following test:
tests/acceptance/tests/Settings/Wishlist/WishlistGuestFunctionalities.spec.tsTechnical notes: