Skip to content

Instantly share code, notes, and snippets.

Testing Code:
in FlightSearchResultsActivityTest.java file:
- change the method in line 2404 to testToVerifyOnSelectingQuickestOutboundSegmentWeShowLowestOnReturnAndNotQuickest()
- if user apply non-stop, and choose one sort, tap an itinerary and press back, the outbound view should show what he/she selected
- default, user do not choose any sort, so it's now in lowest price
create the method called testToVerifyOnApplyingNonStopFilterTapingItineraryAndReturnWillShowLowest()
- if user choose the quickest, then when tab back from return to outbound, it should show quickest
create the method called testToVerifyOnApplyingNonStopFilterAndSelectingQuickestTapingItineraryAndReturnWilShowQuickest()