diff --git a/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx b/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx index 65e9dcb43c..b0f1401c35 100644 --- a/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx @@ -417,6 +417,7 @@ const CurrentImageButtons = (props: CurrentImageButtonsProps) => { size="sm" onClick={handleSendToImageToImage} leftIcon={} + id="send-to-img2img" > {t('parameters.sendToImg2Img')} @@ -425,6 +426,7 @@ const CurrentImageButtons = (props: CurrentImageButtonsProps) => { size="sm" onClick={handleSendToCanvas} leftIcon={} + id="send-to-canvas" > {t('parameters.sendToUnifiedCanvas')} diff --git a/invokeai/frontend/web/src/features/gallery/components/HoverableImage.tsx b/invokeai/frontend/web/src/features/gallery/components/HoverableImage.tsx index 6eb44de99c..a82f199a2b 100644 --- a/invokeai/frontend/web/src/features/gallery/components/HoverableImage.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/HoverableImage.tsx @@ -250,11 +250,16 @@ const HoverableImage = memo((props: HoverableImageProps) => { } onClickCapture={handleSendToImageToImage} + id="send-to-img2img" > {t('parameters.sendToImg2Img')} {isCanvasEnabled && ( - } onClickCapture={handleSendToCanvas}> + } + onClickCapture={handleSendToCanvas} + id="send-to-canvas" + > {t('parameters.sendToUnifiedCanvas')} )} diff --git a/invokeai/frontend/web/src/features/parameters/components/ProcessButtons/CancelButton.tsx b/invokeai/frontend/web/src/features/parameters/components/ProcessButtons/CancelButton.tsx index 23f2ae409a..57b556f88c 100644 --- a/invokeai/frontend/web/src/features/parameters/components/ProcessButtons/CancelButton.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/ProcessButtons/CancelButton.tsx @@ -132,6 +132,7 @@ const CancelButton = ( isDisabled={!isConnected || !isProcessing || !isCancelable} onClick={handleClickCancel} colorScheme="error" + id="cancel-button" {...rest} />