This commit is contained in:
Sidharth Bamba
2021-09-24 14:03:43 +05:30
parent b245e61030
commit e9a24b104c

View File

@@ -37,25 +37,25 @@ RUN bash -c " \
if [ $FLAVOR = E2ETEST ] ; then \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup; \
status=$? \
if [ $status -ne 0 ]; then \
echo "Failed while cleaning data" \
exit $status \
fi \
status=$?
if [ $status -ne 0 ]; then
echo "Failed while cleaning data"
exit $status
fi
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.BrowserStackInit -PtestType=\"e2e\" executeE2ETests; \
status=$?; \
if [ $status -ne 0 ]; then \
echo "Failed while executing tests" \
exit $status \
fi \
status=$?
if [ $status -ne 0 ]; then
echo "Failed while executing tests"
exit $status
fi
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.MockDataCleanup; \
status=$? \
if [ $status -ne 0 ]; then \
echo "Failed while cleaning data post tests" \
exit $status \
fi \
status=$?
if [ $status -ne 0 ]; then
echo "Failed while cleaning data post tests"
exit $status
fi
\
elif [ $FLAVOR = DEV ] ; then \