Attach screenshots to failed steps in Cypress Cucumber reports

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 25

  • @basmatouati-m4j
    @basmatouati-m4j 16 дней назад

    @Dane it doesn't work with "cypress 13.13.3" it returns a time out while reading the file do you have an idea please ?

  • @coolautomation3626
    @coolautomation3626 3 года назад

    great job Dane. Please keep up the good work. Thanks for doing this video

  • @gourisoneja9350
    @gourisoneja9350 3 года назад

    Thanks a lot Dane for this video.
    You're doing a great work for Dev and QA community.
    Love from India.

  • @abhisheksagare
    @abhisheksagare 4 месяца назад

    hi after following above steps,i am not able to attach screenshots to cucumber cypress reports for fail tc
    can u please help?
    also is there provision where it take screenshot of failed as well as pass test cases?

  • @anandkumar-zp5pw
    @anandkumar-zp5pw 3 года назад

    thats cool and clear demo, pretty helpful.
    And will be great if you can also let us know how to capture screenshot for a particular passed step?

  • @Shahzilrind
    @Shahzilrind 3 года назад

    Great lecture thanks for helping us

  • @testsystems1499
    @testsystems1499 3 года назад

    Hi Dane,
    I can see the screenshot link in my report, but the image is broken. Can you please help.
    Thanks

  • @laraibriaz8173
    @laraibriaz8173 3 года назад

    Hi Dane,
    Thank you for this amazing video.
    Can you please make one on Allure reports in Cypress Cucumber?

  • @confused6526
    @confused6526 2 года назад

    Hi Dane...
    Would you please take a look at the code...
    My html report does show an image thumbnail only...
    I tried to open the report in all major browsers but all show the same thumbnail..
    Thanks
    J.N

  • @thuylinh9422
    @thuylinh9422 Год назад

    Thanks for your sharing.
    I get the error timeout when reading file to attach to the HTML report (I make sure that the file already exist and the path is correct), Do you have any idea on it?

    • @DaneHarnettDevs
      @DaneHarnettDevs  11 месяцев назад

      Sorry I haven’t encountered this before. Could it be related to permissions? Are you running the script as the same user?

  • @iranamiriyeva
    @iranamiriyeva 2 года назад

    Hi, Thank you very much for the useful videos:)
    Questions:
    1) Can we add also video to the report?
    2) Is it possible to set any result to have both screenshots and videos? It is available in Allure for example.
    3) I watched the installation video where you promised to have a separate video for the confiugration of data for OS/browser/metadata etc. But i cannot find that separate video. Can you provide the link to that please, if possible?
    Thank you in advance:)

    • @DaneHarnettDevs
      @DaneHarnettDevs  2 года назад +1

      Hi Irana,
      1) I think this should be possible, but I have not done it myself
      2) also I think so but not sure
      3) Unfortunately I have not had the time to make this video yet. I will hopefully get to it
      Also note that cypress-cucumber-preprocessor has a new major version released that may or may not make any of these easier but I have not had a good chance to try it out well.
      Thanks for watching!

    • @iranamiriyeva
      @iranamiriyeva 2 года назад

      @@DaneHarnettDevs Hi Dane, Thank you for the response

  • @rajatt95
    @rajatt95 2 года назад

    Hi Dane,
    Thank you for sharing your knowledge and creating these tutorials.
    This is really very helpful.
    But, I need your help in this - I'm unable to attach a Screenshot in the Cucumber HTML report.
    Option - Screenshot is there, but, when I click I get no screenshot attached.
    Appreciate your help.

    • @rajatt95
      @rajatt95 2 года назад

      @@DaneHarnettDevs Thank you once again. Appreciate your response.

  • @rcbchowdarytumati1224
    @rcbchowdarytumati1224 3 года назад

    Hi Thank you so much for the Video,
    can you please help me
    When I run my scripts in chrome browser, I get the video but it is blank. But I am able to see complete video when I run scripts from electron default browser. Can you help me how to record complete video in chrome ?

  • @DevPerera
    @DevPerera 7 месяцев назад

    Hello @Dane I try this with Cypress 13.6.4 version, but its didnt works

    • @DaneHarnettDevs
      @DaneHarnettDevs  7 месяцев назад

      Hi sorry I haven’t had time to try this out on newer Cypress versions, so I don’t think I will be any help.

    • @DevPerera
      @DevPerera 7 месяцев назад

      @@DaneHarnettDevsok notes, we try this option since there is an issue with Allure and latest Cypress with Cucumber. thanks

    • @DevPerera
      @DevPerera 7 месяцев назад

      @@DaneHarnettDevs Thanks for the reply. Currently there is an open issue with Allure report, not woking with latest Cypress and Cucumber combination.

  • @gourisoneja9350
    @gourisoneja9350 3 года назад

    Hi Dane,
    Thank you for the video.
    I however am unable to attach screenshots for failed test cases despite going through the above steps.
    Could you please suggest what might have gone wrong?

    • @geethami1186
      @geethami1186 2 года назад

      @@DaneHarnettDevs I'm facing the same issue, I see broken image in the report. Do we need to explictly configure cypress screenshot folder anywhere?

  • @Shahzilrind
    @Shahzilrind 3 года назад

    How to add cucumber report on git ?

    • @Shahzilrind
      @Shahzilrind 3 года назад

      @@DaneHarnettDevs yes please.
      Do we have a page object model tutorial where we can keep locators for each page ?