diff --git a/detox/src/utils/invocationTraceDescriptions.js b/detox/src/utils/invocationTraceDescriptions.js index 21e56104e3..b5711e4f60 100644 --- a/detox/src/utils/invocationTraceDescriptions.js +++ b/detox/src/utils/invocationTraceDescriptions.js @@ -3,7 +3,7 @@ module.exports = { adjustSliderToPosition: (newPosition) => `adjust slider to position ${newPosition}`, clearText: () => 'clear input text', getAttributes: () => 'get element attributes', - tap: (point) => `tap${point !== null ? ` at ${JSON.stringify(point)}` : ''}`, + tap: (point) => `tap at ${JSON.stringify(point)}`, longPress: (point, duration) => `long press${duration !== null ? ` for ${duration}ms` : ''}${point !== null ? ` at ${JSON.stringify(point)}` : ''}`, longPressAndDrag: (duration, startX, startY, targetElement, endX, endY, speed, holdDuration) => `long press and drag from ${startX}, ${startY} to ${endX}, ${endY} with speed ${speed} and hold duration ${holdDuration}`,