From 798d52e24cd286dda832f5d354d9f889c2d42495 Mon Sep 17 00:00:00 2001 From: Jon Bindbeutel Date: Tue, 13 Aug 2024 17:26:47 -0400 Subject: [PATCH] feature\9358-Binny-EnableClaimPhaseExpansionByDefault (#9359) --- VAMobile/e2e/tests/Appeals.e2e.ts | 11 +---------- VAMobile/e2e/tests/AppealsExpanded.e2e.ts | 3 --- VAMobile/e2e/tests/Claims.e2e.ts | 3 --- VAMobile/e2e/tests/DecisionLetters.e2e.ts | 12 +----------- VAMobile/e2e/tests/Navigation.e2e.ts | 4 +--- VAMobile/src/utils/remoteConfig.ts | 2 +- 6 files changed, 4 insertions(+), 31 deletions(-) diff --git a/VAMobile/e2e/tests/Appeals.e2e.ts b/VAMobile/e2e/tests/Appeals.e2e.ts index afe750f6ba4..7ff106d00a8 100644 --- a/VAMobile/e2e/tests/Appeals.e2e.ts +++ b/VAMobile/e2e/tests/Appeals.e2e.ts @@ -1,14 +1,7 @@ import { by, device, element, expect, waitFor } from 'detox' import { setTimeout } from 'timers/promises' -import { - CommonE2eIdConstants, - loginToDemoMode, - openBenefits, - openClaims, - openClaimsHistory, - toggleRemoteConfigFlag, -} from './utils' +import { CommonE2eIdConstants, loginToDemoMode, openBenefits, openClaims, openClaimsHistory } from './utils' export const AppealsIdConstants = { APPEAL_1_ID: 'Disability compensation appeal Received June 12, 2008 Moved to this step on November 22, 2011', @@ -25,8 +18,6 @@ export const AppealsIdConstants = { } beforeAll(async () => { - await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT) - await loginToDemoMode() await openBenefits() await openClaims() diff --git a/VAMobile/e2e/tests/AppealsExpanded.e2e.ts b/VAMobile/e2e/tests/AppealsExpanded.e2e.ts index db5b8b49ee6..299af5f459c 100644 --- a/VAMobile/e2e/tests/AppealsExpanded.e2e.ts +++ b/VAMobile/e2e/tests/AppealsExpanded.e2e.ts @@ -7,7 +7,6 @@ import { openClaims, openClaimsHistory, resetInAppReview, - toggleRemoteConfigFlag, } from './utils' let i = 0 @@ -130,8 +129,6 @@ const expectedInformation = [ ] beforeAll(async () => { - await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT) - await loginToDemoMode() await openBenefits() await openClaims() diff --git a/VAMobile/e2e/tests/Claims.e2e.ts b/VAMobile/e2e/tests/Claims.e2e.ts index 2ba746e0e7c..51bacd5e3cd 100644 --- a/VAMobile/e2e/tests/Claims.e2e.ts +++ b/VAMobile/e2e/tests/Claims.e2e.ts @@ -9,7 +9,6 @@ import { openClaimsHistory, resetInAppReview, scrollToIDThenTap, - toggleRemoteConfigFlag, } from './utils' export const ClaimsE2eIdConstants = { @@ -54,8 +53,6 @@ export const ClaimsE2eIdConstants = { } beforeAll(async () => { - await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT) - await loginToDemoMode() await openBenefits() await openClaims() diff --git a/VAMobile/e2e/tests/DecisionLetters.e2e.ts b/VAMobile/e2e/tests/DecisionLetters.e2e.ts index 935ed52935a..461b02c3c5b 100644 --- a/VAMobile/e2e/tests/DecisionLetters.e2e.ts +++ b/VAMobile/e2e/tests/DecisionLetters.e2e.ts @@ -1,15 +1,7 @@ import { by, device, element, expect } from 'detox' import { setTimeout } from 'timers/promises' -import { - CommonE2eIdConstants, - loginToDemoMode, - openBenefits, - openClaims, - openClaimsHistory, - resetInAppReview, - toggleRemoteConfigFlag, -} from './utils' +import { loginToDemoMode, openBenefits, openClaims, openClaimsHistory, resetInAppReview } from './utils' export const DecisionLettersE2eIDConstants = { CLOSED_CLAIM_DECISION_LETTER_ID: 'Compensation Decision letter ready Received January 01, 2021', @@ -20,8 +12,6 @@ export const DecisionLettersE2eIDConstants = { } beforeAll(async () => { - await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT) - await loginToDemoMode() await openBenefits() await openClaims() diff --git a/VAMobile/e2e/tests/Navigation.e2e.ts b/VAMobile/e2e/tests/Navigation.e2e.ts index de15d05a7c7..0d4c8c34290 100644 --- a/VAMobile/e2e/tests/Navigation.e2e.ts +++ b/VAMobile/e2e/tests/Navigation.e2e.ts @@ -1,7 +1,7 @@ import { by, device, element, expect, waitFor } from 'detox' import { setTimeout } from 'timers/promises' -import { CommonE2eIdConstants, checkImages, loginToDemoMode, resetInAppReview, toggleRemoteConfigFlag } from './utils' +import { checkImages, loginToDemoMode, resetInAppReview } from './utils' var navigationValue = process.argv[7] @@ -293,8 +293,6 @@ const navigateToPage = async (key, navigationDicValue) => { } beforeAll(async () => { - await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT) - await device.launchApp({ newInstance: false }) await loginToDemoMode() }) diff --git a/VAMobile/src/utils/remoteConfig.ts b/VAMobile/src/utils/remoteConfig.ts index 9867ed59123..5e49435cf0c 100644 --- a/VAMobile/src/utils/remoteConfig.ts +++ b/VAMobile/src/utils/remoteConfig.ts @@ -51,7 +51,7 @@ type FeatureToggleValues = { export const defaults: FeatureToggleValues = { appointmentRequests: false, cernerTrueForDemo: false, - claimPhaseExpansion: false, + claimPhaseExpansion: true, decisionLettersWaygate: true, haptics: true, homeScreenPrefetch: true,