🇦🇺Australia thinkingcap
thinkingcap → created an issue.
🐛 | Salesforce Suite | TypeError: implode(): Argument #2 ($array) must be of type ?array, string given ... on line 62 of modules/contrib/salesforce/modules/salesforce_logger/src/Form/SettingsForm.php
🇦🇺Australia thinkingcap
thinkingcap → created an issue.
🇦🇺Australia thinkingcap
Thanks for the tip. Confirming that we have Vue 2 working with the 3.x version of this module.
composer require npm-asset/vue:^2
and in config/vuejs.settings.yml
the path is changed to /libraries/vue/dist/vue.min.js
:
libraries:
vue:
installation: local
development: false
version: 3.2.37
cdn: unpkg
path: /libraries/vue/dist/vue.min.js
petitevue:
installation: local
development: false
cdn: unpkg
version: 0.4.1
path: /libraries/petite-vue/dist/petite-vue.iife.js
🇦🇺Australia thinkingcap
I notice that this was being discussed on GitHub: https://github.com/cypress-io/cypress/issues/26398 and added my solution over there: https://github.com/cypress-io/cypress/issues/26398#issuecomment-1847112026
Copied here for convenience:
I got this working by intercepting the Set-Cookies header and enforcing SameSite=None; Secure.
cy.intercept('*', (req) => {
req.on('response', (res) => {
const setCookies = res.headers['set-cookie'];
if (setCookies) {
res.headers['set-cookie'] = (
Array.isArray(setCookies) ? setCookies : [setCookies]
)
.map((cookie) => {
// Override or add SameSite=None
if (cookie.includes('SameSite')) {
cookie = cookie.replace(/SameSite=(Lax|Strict|None)/i, 'SameSite=None');
} else {
cookie = `${cookie}; SameSite=None`;
}
// Add Secure if not present
if (!cookie.includes('Secure')) {
cookie = `${cookie}; Secure`;
}
return cookie;
});
}
});
});
cy.origin('https://ethereal.email', { args: sentArgs }, ({
userEmail, userPassword, searchSubjectLine,
}) => {
.
.
.
🇦🇺Australia thinkingcap
thinkingcap → created an issue.