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:
parent
6083226f8b
commit
9154446117
1 changed files with 10 additions and 1 deletions
|
|
@ -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 ---`
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue