Skip to content

Commit

Permalink
Change synchronization location
Browse files Browse the repository at this point in the history
  • Loading branch information
rbontrager committed Nov 25, 2024
1 parent 171d561 commit b6f61ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions VAMobile/e2e/tests/AvailabilityFramework.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ const AFNavigationForIndividual = [
['Messages.e2e', 'WG_FolderMessages', 'Health', 'Messages', 'Folders', 'Sent'],
['Prescriptions.e2e', 'WG_PrescriptionDetails', 'Health', 'Prescriptions', 'Get prescription details'],
['Prescriptions.e2e', 'WG_PrescriptionHistory', 'Health', 'Prescriptions'],
['Messages.e2e', 'WG_SecureMessaging', 'Health', 'Messages'],
//['Messages.e2e', 'WG_SecureMessaging', 'Health', 'Messages'],
['Appointments.e2e', 'WG_UpcomingAppointmentDetails', 'Health', 'Appointments', 'Podiatry'],
['Appointments.e2e', 'WG_PastAppointmentDetails', 'Health', 'Appointments', 'Past', 'Podiatry'],
['VaccineRecords.e2e', 'WG_VaccineDetails', 'Health', 'V\ufeffA vaccine records', 'January 14, 2021'],
['VaccineRecords.e2e', 'WG_VaccineList', 'Health', 'V\ufeffA vaccine records'],
['Messages.e2e', 'WG_StartNewMessage', 'Health', 'Messages', 'Start new message'],
['Messages.e2e', 'WG_ReplyMessage', 'Health', 'Messages', 'Medication: Naproxen side effects', 'Reply'],
[
/*[
'Messages.e2e',
'WG_ReplyHelp',
'Health',
Expand All @@ -78,7 +78,7 @@ const AFNavigationForIndividual = [
],
['Messages.e2e', 'WG_ViewMessage', 'Health', 'Messages', 'Folders', 'Sent', 'Medication: Naproxen side effects'],
['Messages.e2e', 'WG_EditDraft', 'Health', 'Messages', 'Folders', 'Drafts (3)', 'Test: Test Inquiry'],
[
*/ [
'Prescriptions.e2e',
'WG_RefillRequestSummary',
'Health',
Expand Down
4 changes: 2 additions & 2 deletions VAMobile/e2e/tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ export async function verifyAF(featureNavigationArray, AFUseCase, AFUseCaseUpgra
await element(by.text('OK')).atIndex(0).tap()
}
} else if (AFUseCase === 'DenyContent' || AFUseCase === 'AllowFunction') {
await device.disableSynchronization()
if (AFUseCaseUpgrade) {
try {
await expect(element(by.text('Update now'))).toExist()
Expand All @@ -612,7 +613,6 @@ export async function verifyAF(featureNavigationArray, AFUseCase, AFUseCaseUpgra
}

if (device.getPlatform() === 'android') {
await device.disableSynchronization()
try {
await element(by.id(CommonE2eIdConstants.CALL_VA_PHONE_NUMBER_ID)).atIndex(0).tap()
} catch (ex) {
Expand All @@ -630,8 +630,8 @@ export async function verifyAF(featureNavigationArray, AFUseCase, AFUseCaseUpgra
}
await setTimeout(5000)
await device.takeScreenshot(featureName + 'AFUseCase2TTY')
await device.enableSynchronization()
}
await device.enableSynchronization()
}

if (AFUseCase !== 'AllowFunction') {
Expand Down

0 comments on commit b6f61ae

Please sign in to comment.