app icon indicating copy to clipboard operation
app copied to clipboard

Issue uploading multiple images using clipboard sequentially

Open itz4blitz opened this issue 1 year ago • 3 comments

Describe the bug When attempting to upload images from the clipboard using Testomat, the upload sometimes fails. Specifically, after successfully uploading the first two images, the third image does not upload and disappears after initially appearing to upload.

To Reproduce Steps to reproduce the behavior:

  1. Capture screenshots of your test scenario.
  2. Copy the screenshots to the clipboard.
  3. Open Testomat and attempt to paste the images from the clipboard.
  4. Observe that the first two images upload successfully, but the third image fails to upload.

Expected behavior All images copied to the clipboard should upload successfully to Testomat without disappearing.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Browser Version: 22
  • Application: Production

Additional context The issue occurs when I try to paste images from my clipboard into Testomat. Initially, the image appears to upload, but then it disappears. The first two images upload fine, but the issue occurs with the third image.

There are no errors in the browser's dev console. The clipboard is not empty and contains the image. A video demonstrating the issue has been provided.

itz4blitz avatar Jul 25 '24 15:07 itz4blitz

https://testomatio.slack.com/archives/C071TB8L80H/p1721825007308199

poliarush avatar Jul 25 '24 15:07 poliarush

i think it is backend issue.

I have a suggestion. I tried to upload identical images and the server did not return them to me. If there is validation of such files on the backend, I suggest to return the error: ‘Such file already exists’, or remove this validation.

@DavertMik What do you think?

littlefrontender avatar Jul 26 '24 14:07 littlefrontender

Agreed. I check for the same files, I think I implemented this when added diagrams

DavertMik avatar Aug 05 '24 18:08 DavertMik

@littlefrontender added error as suggested

Image

If it is annoying I can remove it

DavertMik avatar Aug 21 '24 22:08 DavertMik

@littlefrontender added error as suggested

Image

If it is annoying I can remove it

@littlefrontender need to improve the error message text

Image

TetianaKhomenko avatar Aug 23 '24 11:08 TetianaKhomenko

Hi @itz4blitz! Thanks for reporting the issue! The issue has been fixed. The fix will be published in the upcoming release.

TetianaKhomenko avatar Aug 28 '24 11:08 TetianaKhomenko