CASH-2844 make NON_CLAIM_AND_COVERAGE_TEST_PARENT_ACCOUNT

CASH-28ee make NON_CLAIM_AND_COVERAGE_TEST_PARENT_ACCOUNT a comma delimited list to support testing multiple accounts at once.
This commit is contained in:
Carl Nation 2026-06-16 06:56:41 -04:00
parent 6083226f8b
commit 9154446117

View file

@ -277,7 +277,16 @@ export default {
var nonIntegratedTestParentAccount = this.getSettingValue( var nonIntegratedTestParentAccount = this.getSettingValue(
experimentSettings.NON_CLAIM_AND_COVERAGE_TEST_PARENT_ACCOUNT experimentSettings.NON_CLAIM_AND_COVERAGE_TEST_PARENT_ACCOUNT
); );
if (nonIntegratedTestParentAccount === this.selectedAccount.parentAccountNumber) { const nonIntegratedTestParentAccounts = (nonIntegratedTestParentAccount ?? "")
.toString()
.split(",")
.map((account) => account.trim())
.filter((account) => account.length > 0);
if (
nonIntegratedTestParentAccounts.includes(
this.selectedAccount.parentAccountNumber?.toString()
)
) {
debugLog( debugLog(
`--- ${this.selectedAccount.parentAccountNumber} Non integrated experiment setting is false, but a parent account is NON_CLAIM_AND_COVERAGE_TEST_PARENT_ACCOUNT experiment contains a specific parent account number, sending to vue app Insurance Details page ---` `--- ${this.selectedAccount.parentAccountNumber} Non integrated experiment setting is false, but a parent account is NON_CLAIM_AND_COVERAGE_TEST_PARENT_ACCOUNT experiment contains a specific parent account number, sending to vue app Insurance Details page ---`
); );