Skip to content

Commit

Permalink
feature\9358-Binny-EnableClaimPhaseExpansionByDefault (#9359)
Browse files Browse the repository at this point in the history
  • Loading branch information
dumathane authored Aug 13, 2024
1 parent d908912 commit 798d52e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 31 deletions.
11 changes: 1 addition & 10 deletions VAMobile/e2e/tests/Appeals.e2e.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand All @@ -25,8 +18,6 @@ export const AppealsIdConstants = {
}

beforeAll(async () => {
await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT)

await loginToDemoMode()
await openBenefits()
await openClaims()
Expand Down
3 changes: 0 additions & 3 deletions VAMobile/e2e/tests/AppealsExpanded.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
openClaims,
openClaimsHistory,
resetInAppReview,
toggleRemoteConfigFlag,
} from './utils'

let i = 0
Expand Down Expand Up @@ -130,8 +129,6 @@ const expectedInformation = [
]

beforeAll(async () => {
await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT)

await loginToDemoMode()
await openBenefits()
await openClaims()
Expand Down
3 changes: 0 additions & 3 deletions VAMobile/e2e/tests/Claims.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
openClaimsHistory,
resetInAppReview,
scrollToIDThenTap,
toggleRemoteConfigFlag,
} from './utils'

export const ClaimsE2eIdConstants = {
Expand Down Expand Up @@ -54,8 +53,6 @@ export const ClaimsE2eIdConstants = {
}

beforeAll(async () => {
await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT)

await loginToDemoMode()
await openBenefits()
await openClaims()
Expand Down
12 changes: 1 addition & 11 deletions VAMobile/e2e/tests/DecisionLetters.e2e.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand All @@ -20,8 +12,6 @@ export const DecisionLettersE2eIDConstants = {
}

beforeAll(async () => {
await toggleRemoteConfigFlag(CommonE2eIdConstants.CLAIM_PHASE_TOGGLE_TEXT)

await loginToDemoMode()
await openBenefits()
await openClaims()
Expand Down
4 changes: 1 addition & 3 deletions VAMobile/e2e/tests/Navigation.e2e.ts
Original file line number Diff line number Diff line change
@@ -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]

Expand Down Expand Up @@ -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()
})
Expand Down
2 changes: 1 addition & 1 deletion VAMobile/src/utils/remoteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type FeatureToggleValues = {
export const defaults: FeatureToggleValues = {
appointmentRequests: false,
cernerTrueForDemo: false,
claimPhaseExpansion: false,
claimPhaseExpansion: true,
decisionLettersWaygate: true,
haptics: true,
homeScreenPrefetch: true,
Expand Down

0 comments on commit 798d52e

Please sign in to comment.