Skip to content

Commit

Permalink
Merge branch 'master' into AUT-18615-switch-demand-source
Browse files Browse the repository at this point in the history
  • Loading branch information
ormiz authored Feb 12, 2024
2 parents fcbad9a + 1ebe6b5 commit 4ff5bcf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const StopPointsViewer = ({ goBackToAddressSelector }: StopPointsViewerProps) =>
</StreetAddress>
</StreetAddressContainer>
<TouchableOpacity
testID="editIcon"
onPress={() => goBackToAddressSelector(requestStopPoints.length - 1)}
>
<SvgIcon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const BottomSheetInputField = forwardRef((props, ref) => (

{ props.onDrag && (
<DragTouchableIconContainer
testID={`DragIconContainer_${props.index}`}
onPressIn={() => props.onDrag()}
onPressOut={() => props.onEndDrag()}
>
Expand All @@ -83,7 +84,7 @@ const BottomSheetInputField = forwardRef((props, ref) => (

{ props.remove && (
<TouchableIconContainer width={30} marginLeft={15} onPress={() => props.remove()}>
<RemoveIconContainer>
<RemoveIconContainer testID={`removeIcon_${props.index}`}>
<SvgIcon
Svg={deleteIcon}
stroke="#333"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import SettingsContext from '../../../../../../context/settings';

const FARE_POPUP = 'farePopup';

const ServiceCard = ({ service, withBorder }) => {
const ServiceCard = ({ service, withBorder, testID }) => {
const theme = useContext(ThemeContext);
const {
setChosenService, chosenService, serviceEstimations, ride,
Expand Down Expand Up @@ -110,6 +110,7 @@ const ServiceCard = ({ service, withBorder }) => {
return (
<>
<CardContainer
testID={testID}
theme={theme}
withBorder={withBorder}
selected={isSelected}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const ServiceOptions = () => {

return (
<ServiceOptionsContainer alwaysBounceVertical={false}>

{ serviceEstimations?.length === 0
? (
<EmptyState
Expand Down

0 comments on commit 4ff5bcf

Please sign in to comment.