Visual UI testing with Percy.io + Cypress

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ย. 2024

ความคิดเห็น • 7

  • @yugandhar2007
    @yugandhar2007 5 ปีที่แล้ว +1

    How is this different from jest snapshot testing ? With jest you compare snapshot of each component right. Do we really need this visual testing? Does it add more value ?

    • @ExecuteAutomation
      @ExecuteAutomation  5 ปีที่แล้ว

      Jest Snapshoting does not compares the UI element and pixels, rather it compares the DOM structures, component structures, but this compares the other way around.
      Thanks

    • @yugandhar2007
      @yugandhar2007 5 ปีที่แล้ว

      I am not sure if I got it right. If I see jest snapshots they have styles for each dom element as well. Which infers that they compare styles as well.

  • @swatibhavsar4774
    @swatibhavsar4774 ปีที่แล้ว

    Hi, is it possible to compare screenshot from two different branches with percy...for e.g If I wan't to compare my master branch screenshot with feature branch, how can we do that?

  •  5 ปีที่แล้ว

    It always compares against the last screenshot? Is there a way to compare against the master screenshot similar to what a pull request does?

  • @yorkcorrea6661
    @yorkcorrea6661 4 ปีที่แล้ว +1

    thanks!! maybe a video for Shadow Root??? please