Skip to content

Commit

Permalink
CU/9849-TKD-detox-Nav-bytext-removal (#10156)
Browse files Browse the repository at this point in the history
  • Loading branch information
TKDickson authored Nov 13, 2024
1 parent b523b24 commit 4d3f165
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 51 deletions.
19 changes: 9 additions & 10 deletions VAMobile/e2e/tests/Claims.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const ClaimsE2eIdConstants = {
TAKE_OR_SELECT_PHOTOS_TEXT: 'Take or select photos',
ACCEPTED_FILE_TYPES_TEXT: 'PDF (unlocked), GIF, JPEG, JPG, BMP, TXT',
MAXIMUM_FILE_SIZE_LABEL: '50 megabytes',
CLAIMS_DETAILS_SCREEN_ID: 'ClaimDetailsScreen',
CLAIMS_HISTORY_SCREEN_ID: 'claimsHistoryID',
CLAIMS_DETAILS_BACK_ID: 'claimsDetailsBackTestID',
CLAIMS_STATUS_ID: 'claimsStatusID',
Expand Down Expand Up @@ -97,7 +96,7 @@ describe('Claims Screen', () => {
await expect(element(by.id(ClaimsE2eIdConstants.CLAIM_4_STATUS_STEP_6_ID))).toExist()
await expect(element(by.id(ClaimsE2eIdConstants.CLAIM_4_STATUS_STEP_7_ID))).toExist()
await expect(element(by.id(ClaimsE2eIdConstants.CLAIM_4_STATUS_STEP_8_ID))).toExist()
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_BACK_ID)).tap()
})

Expand Down Expand Up @@ -126,7 +125,7 @@ describe('Claims Screen', () => {
await setTimeout(2000)
await waitFor(element(by.id(ClaimsE2eIdConstants.CLAIM_3_STATUS_STEP_2_ID)))
.toBeVisible()
.whileElement(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID))
.whileElement(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID))
.scroll(100, 'down')
await setTimeout(2000)
await element(by.text('Step 2')).tap()
Expand All @@ -139,7 +138,7 @@ describe('Claims Screen', () => {
})

it('Verify what you claimed section', async () => {
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await expect(element(by.text("What you've claimed"))).toExist()
})

Expand Down Expand Up @@ -241,7 +240,7 @@ describe('Claims Screen', () => {

//flag has been turned off per slack convo in DSVA, commenting tests out until it is turned back on
// it('should verify submit evidence button exists', async () => {
// await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
// await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
// await element(by.text('Submit evidence')).tap()
// })

Expand Down Expand Up @@ -330,7 +329,7 @@ describe('Claims Screen', () => {
element(by.id('Step 3 of 5. Evidence gathering, review, and decision. Current step. Step 1 through 2 complete.')),
)
.toBeVisible()
.whileElement(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID))
.whileElement(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID))
.scroll(100, 'down')
await element(
by.id('Step 3 of 5. Evidence gathering, review, and decision. Current step. Step 1 through 2 complete.'),
Expand Down Expand Up @@ -361,7 +360,7 @@ describe('Claims Screen', () => {
it('should verify details of claim on step 5', async () => {
await element(by.id(ClaimsE2eIdConstants.CLAIMS_HISTORY_SCREEN_ID)).scrollTo('top')
await element(by.id(ClaimsE2eIdConstants.CLAIM_2_ID)).tap()
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await element(by.id('Step 5 of 5. Complete. Complete.')).tap()
await expect(element(by.text('Complete')).atIndex(1)).toExist()
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_BACK_ID)).tap()
Expand Down Expand Up @@ -393,7 +392,7 @@ describe('Claims Screen', () => {
})

it('Verify what should I do if disagreement information', async () => {
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await element(by.id(ClaimsE2eIdConstants.CLAIMS_LEARN_WHAT_TO_DO)).atIndex(0).tap()
await expect(element(by.text('What to do if you disagree with our decision')).atIndex(0)).toExist()
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DECISION_REVIEW_OPTIONS)).tap()
Expand All @@ -411,7 +410,7 @@ describe('Claims Screen', () => {
).toExist()
await expect(element(by.id(CommonE2eIdConstants.CALL_VA_PHONE_NUMBER_ID))).toExist()
if (device.getPlatform() === 'android') {
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('bottom')
await device.disableSynchronization()
await element(by.id(CommonE2eIdConstants.CALL_VA_PHONE_NUMBER_ID)).tap()
await setTimeout(5000)
Expand All @@ -422,7 +421,7 @@ describe('Claims Screen', () => {
})

it('verify files tab infomation', async () => {
await element(by.id(ClaimsE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
await element(by.id(ClaimsE2eIdConstants.CLAIMS_FILES_ID)).tap()
await expect(element(by.text("This claim doesn't have any files yet."))).toExist()
})
Expand Down
18 changes: 9 additions & 9 deletions VAMobile/e2e/tests/Navigation.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,17 +216,17 @@ const navigateToPage = async (key, navigationDicValue) => {
const subNavigationArray = navigationArray[1]
for (let k = 0; k < subNavigationArray.length - 1; k++) {
if (subNavigationArray[k] === 'Review file requests') {
await waitFor(element(by.text('Review file requests')))
await waitFor(element(by.id(CommonE2eIdConstants.ALERT_FILE_REQUEST_BUTTON_ID)))
.toBeVisible()
.whileElement(by.id('ClaimDetailsScreen'))
.whileElement(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID))
.scroll(100, 'up')
} else if (subNavigationArray[k] === 'Received July 17, 2008') {
await waitFor(element(by.text('Received July 17, 2008')))
.toBeVisible()
.whileElement(by.id('claimsHistoryID'))
.whileElement(by.id(CommonE2eIdConstants.CLAIMS_HISTORY_SCROLL_ID))
.scroll(100, 'down')
} else if (subNavigationArray[k] === 'Files') {
await element(by.id('ClaimsDetailsScreen')).scrollTo('top')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
}

if (k == 0 && key in featureID) {
Expand All @@ -248,22 +248,22 @@ const navigateToPage = async (key, navigationDicValue) => {
}

if (subNavigationArray.slice(-1)[0] === 'Review file requests') {
await waitFor(element(by.text('Review file requests')))
await waitFor(element(by.id(CommonE2eIdConstants.ALERT_FILE_REQUEST_BUTTON_ID)))
.toBeVisible()
.whileElement(by.id('ClaimDetailsScreen'))
.whileElement(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID))
.scroll(100, 'up')
} else if (subNavigationArray.slice(-1)[0] === 'Get prescription details') {
await waitFor(element(by.label('CAPECITABINE 500MG TAB.')))
.toBeVisible()
.whileElement(by.id('PrescriptionHistory'))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(50, 'down')
} else if (subNavigationArray.slice(-1)[0] === 'Received June 12, 2008') {
await waitFor(element(by.text('Received June 12, 2008')))
.toBeVisible()
.whileElement(by.id('claimsHistoryID'))
.whileElement(by.id(CommonE2eIdConstants.CLAIMS_HISTORY_SCROLL_ID))
.scroll(100, 'down')
} else if (subNavigationArray.slice(-1)[0] === 'Files' || subNavigationArray.slice(-1)[0] === 'Submit evidence') {
await element(by.id('ClaimDetailsScreen')).scrollTo('top')
await element(by.id(CommonE2eIdConstants.CLAIMS_DETAILS_SCREEN_ID)).scrollTo('top')
}

if (subNavigationArray.slice(-1)[0] in featureID) {
Expand Down
57 changes: 28 additions & 29 deletions VAMobile/e2e/tests/Prescriptions.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export const PrescriptionsE2eIdConstants = {
'If you have questions about the status of your refill, contact your provider or local V-A pharmacy.',
PRESCRIPTION_REFILL_REQUEST_SUMMARY_PENDING_BUTTON_TEXT: 'Go to all pending refills',
PRESCRIPTION_BACK_ID: 'prescriptionsBackTestID',
PRESCRIPTION_HISTORY_SCROLL_ID: 'PrescriptionHistory',
FILTER_PRESCRIPTIONS_TEST_ID: 'filterSortWrapperBoxTestID',
PRESCRIPTION_GO_TO_MY_VA_HEALTH_LINK_ID: 'goToMyVAHealthPrescriptionHistoryID',
PRESCRIPTION_DETAILS_BACK_ID: 'prescriptionsDetailsBackTestID',
Expand Down Expand Up @@ -83,23 +82,23 @@ export async function validateSort(
) {
it('should sort prescription data by ' + name, async () => {
if (firstInstance) {
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_FILTER_BUTTON_ID)).tap()
await element(by.text('All (31)')).atIndex(0).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_FILTER_APPLY_ID)).tap()
} else {
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PREVIOUS_PAGE_ID)).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PREVIOUS_PAGE_ID)).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PREVIOUS_PAGE_ID)).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
}
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_FILTER_BUTTON_ID)).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_FILTER_MODAL_ID)).scrollTo('bottom')
Expand All @@ -113,17 +112,17 @@ export async function validateSort(
await element(by.text(name)).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_FILTER_APPLY_ID)).tap()
await expect(element(by.text(firstPrescription)).atIndex(0)).toBeVisible()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.NEXT_PAGE_ID)).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.NEXT_PAGE_ID)).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).swipe('up', 'fast', 1.0)
await element(by.id(CommonE2eIdConstants.NEXT_PAGE_ID)).tap()
await expect(element(by.text(lastPrescription))).toBeVisible()
})
Expand Down Expand Up @@ -161,7 +160,7 @@ describe('Prescriptions Screen', () => {
await expect(element(by.text(PrescriptionsE2eIdConstants.PRESCRIPTION_ALL_NUMBER_OF_PRESCRIPTIONS_TEXT))).toExist()
await waitFor(element(by.label('CAPECITABINE 500MG TAB.')))
.toBeVisible()
.whileElement(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(100, 'down')
await expect(
element(by.text(PrescriptionsE2eIdConstants.PRESCRIPTION_STATUS_LABEL_HEADER_TEXT)).atIndex(0),
Expand All @@ -174,7 +173,7 @@ describe('Prescriptions Screen', () => {
})

it('verify prescription refill warning label information', async () => {
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_REFILL_WARNING_ID)).tap()
await expect(element(by.text("We can't refill some of your prescriptions in the app"))).toExist()
await expect(element(by.label('Some V-A health facilities use a new electronic health record system.'))).toExist()
Expand Down Expand Up @@ -206,7 +205,7 @@ describe('Prescriptions Screen', () => {
it('verify prescription details information', async () => {
await waitFor(element(by.label('CAPECITABINE 500MG TAB.')))
.toBeVisible()
.whileElement(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(50, 'down')
await element(by.label(PrescriptionsE2eIdConstants.PRESCRIPTION_DETAILS_LABEL)).atIndex(0).tap()
await expect(element(by.text('AMLODIPINE BESYLATE 10MG TAB'))).toExist()
Expand Down Expand Up @@ -277,7 +276,7 @@ describe('Prescriptions Screen', () => {
it('verify prescription tracking item specific info', async () => {
await waitFor(element(by.label('CITALOPRAM HYDROBROMIDE 20MG TAB.')))
.toBeVisible()
.whileElement(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(500, 'down')
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_TRACKING_GET_TRACKING_ID)).atIndex(0).tap()
await expect(element(by.label('Prescription number 3 6 3 6 8 5 6'))).toExist()
Expand Down Expand Up @@ -316,7 +315,7 @@ describe('Prescriptions Screen', () => {
it('verify tracking link for FEDEX works', async () => {
await waitFor(element(by.label('LAMIVUDINE 100MG TAB.')))
.toBeVisible()
.whileElement(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(500, 'down')
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_TRACKING_GET_TRACKING_ID)).atIndex(1).tap()
await expect(element(by.text('Delivery service: FEDEX'))).toExist()
Expand All @@ -331,7 +330,7 @@ describe('Prescriptions Screen', () => {
it('verify tracking info for multiple packages', async () => {
await waitFor(element(by.label('LAMIVUDINE 150MG/ZIDOVUDINE 300MG TAB.')))
.toBeVisible()
.whileElement(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(500, 'down')
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_TRACKING_GET_TRACKING_ID)).atIndex(2).tap()
await expect(element(by.text('Package 1 of 2'))).toExist()
Expand All @@ -351,7 +350,7 @@ describe('Prescriptions Screen', () => {
await openPrescriptions()
await waitFor(element(by.label('LAMIVUDINE 150MG/ZIDOVUDINE 300MG TAB.')))
.toBeVisible()
.whileElement(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(500, 'down')
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_TRACKING_GET_TRACKING_ID)).atIndex(2).tap()
})
Expand Down Expand Up @@ -388,7 +387,7 @@ describe('Prescriptions Screen', () => {
})

it('verify refill request screen information', async () => {
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID)).scrollTo('top')
await element(by.id(CommonE2eIdConstants.PRESCRIPTION_REFILL_BUTTON_ID)).tap()
await expect(element(by.text('Refill request'))).toExist()
await expect(element(by.text('Request refills at least 15 days before you need more medication.'))).toExist()
Expand Down Expand Up @@ -456,7 +455,7 @@ describe('Prescriptions Screen', () => {
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_FILTER_APPLY_ID)).tap()
await waitFor(element(by.label('CAPECITABINE 500MG TAB.')))
.toBeVisible()
.whileElement(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.whileElement(by.id(CommonE2eIdConstants.PRESCRIPTION_HISTORY_SCROLL_ID))
.scroll(500, 'down')
await element(by.label(PrescriptionsE2eIdConstants.PRESCRIPTION_DETAILS_LABEL)).atIndex(0).tap()
await element(by.id(PrescriptionsE2eIdConstants.PRESCRIPTION_REQUEST_REFILL_ID)).tap()
Expand Down
Loading

0 comments on commit 4d3f165

Please sign in to comment.