[ch9671] | Sandhya | Fix tests (#785)
* [ch9671] | Sandhya | Fix tests * [ch9671] | Chetan | Fix mockserver test tag for browserstack * [ch9671] | Chetan | Update browserstack project name * [ch9671] | Chetan | Increase sleep time for camera This is needed since camera on BrowserStack takes time to capture the photo. * [ch9671] | Chetan | Upload build only for non test flavors Co-authored-by: Chetan Kothari <chetan.kothari@navi.com>
This commit is contained in:
committed by
GitHub Enterprise
parent
f1f47498cb
commit
57d6ee5d81
@@ -40,4 +40,4 @@ RUN bash -c " \
|
||||
\
|
||||
else echo 'ERROR: Flavor not mentioned' ; \
|
||||
fi ;"
|
||||
RUN bash -c "if [ $FLAVOR != MOCKSERVERTEST ] || [ $FLAVOR != E2ETEST ] ; then ./gradlew uploadArchives -PFLAVOR=${FLAVOR} -PNEXUS_URL=${NEXUS_URL} -PNEXUS_USERNAME=${NEXUS_USERNAME} -PNEXUS_PASSWORD=${NEXUS_PASSWORD} ; fi ;"
|
||||
RUN bash -c "if [ $FLAVOR != MOCKSERVERTEST ] && [ $FLAVOR != E2ETEST ] ; then ./gradlew uploadArchives -PFLAVOR=${FLAVOR} -PNEXUS_URL=${NEXUS_URL} -PNEXUS_USERNAME=${NEXUS_USERNAME} -PNEXUS_PASSWORD=${NEXUS_PASSWORD} ; fi ;"
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"deviceLogs": true,
|
||||
"networkLogs": true,
|
||||
"testSuite": "TESTURL",
|
||||
"project": "E2ETest",
|
||||
"annotation": ["com.naviapp.E2ETest"]
|
||||
},
|
||||
"mockServer": {
|
||||
@@ -13,7 +14,8 @@
|
||||
"deviceLogs": true,
|
||||
"networkLogs": true,
|
||||
"testSuite": "TESTURL",
|
||||
"annotation": ["com.naviappmockserver.MockServerTest1"],
|
||||
"project": "MockServerTests",
|
||||
"annotation": ["com.naviappmockserver.MockServerTest"],
|
||||
"allowDeviceMockServer": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ class LoanApplicationJourneyForUserWithCorrespondenceAddress : AbstractCustomerA
|
||||
onView(withId(R.id.selfie_ll)).perform(click())
|
||||
blink(500)
|
||||
onView(withId(R.id.camera_capture_iv)).perform(click())
|
||||
blink(500)
|
||||
blink(3000) // This is needed because BS takes time to capture photo
|
||||
onView(withId(R.id.camera_action_button)).perform(click())
|
||||
addressServerDispatcherKyc.await(
|
||||
SELFIE_UPLOAD,
|
||||
@@ -94,7 +94,7 @@ class LoanApplicationJourneyForUserWithCorrespondenceAddress : AbstractCustomerA
|
||||
blink(500)
|
||||
onView(withId(R.id.aadhaar_layout)).perform(click())
|
||||
addressServerDispatcherKyc.await(
|
||||
REQUEST_AADHAAR_DETAILS, VERIFICATION_STATUS,
|
||||
REQUEST_AADHAAR_DETAILS,
|
||||
FETCH_KYC_DETAILS
|
||||
)
|
||||
blink(7000)//thisislotofsleep!!
|
||||
|
||||
@@ -82,7 +82,7 @@ class LoanApplicationJourneyForUserWithPermanentAddress : AbstractCustomerAppTes
|
||||
onView(withId(R.id.selfie_ll)).perform(click())
|
||||
blink(500)
|
||||
onView(withId(R.id.camera_capture_iv)).perform(click())
|
||||
blink(500)
|
||||
blink(3000) // This is needed because BS takes time to capture photo
|
||||
onView(withId(R.id.camera_action_button)).perform(click())
|
||||
addressServerDispatcherKyc.await(
|
||||
SELFIE_UPLOAD,
|
||||
@@ -92,7 +92,7 @@ class LoanApplicationJourneyForUserWithPermanentAddress : AbstractCustomerAppTes
|
||||
blink(500)
|
||||
onView(withId(R.id.aadhaar_layout)).perform(click())
|
||||
addressServerDispatcherKyc.await(
|
||||
REQUEST_AADHAAR_DETAILS, VERIFICATION_STATUS,
|
||||
REQUEST_AADHAAR_DETAILS,
|
||||
FETCH_KYC_DETAILS
|
||||
)
|
||||
blink(7000)//thisislotofsleep!!
|
||||
|
||||
@@ -80,7 +80,7 @@ class LoanApplicationUserJourney : AbstractCustomerAppTestCase() {
|
||||
onView(withId(R.id.selfie_ll)).perform(click())
|
||||
blink(500)
|
||||
onView(withId(R.id.camera_capture_iv)).perform(click())
|
||||
blink(500)
|
||||
blink(3000) // This is needed because BS takes time to capture photo
|
||||
onView(withId(R.id.camera_action_button)).perform(click())
|
||||
loanApplicationServerDispatcher.await(
|
||||
SELFIE_UPLOAD,
|
||||
|
||||
Reference in New Issue
Block a user