Git Product home page Git Product logo

Comments (5)

Robdel12 avatar Robdel12 commented on August 22, 2024 1

Sweet, thanks for that! I can see that the root resource is for some reason being discovered/captured in asset discovery, which is a big no. We'll keep digging to see why that's happening -- it shouldn't ever make its away into the discovery queue ๐Ÿคจ

Also worth noting that we're doing jest.retryTimes(3); in our test suite to automatically retry failing tests in cases of errors. That might play a role here too.

That's not the issue now, but that will cause issues if there is a retried test. Percy snapshots can't be retried (for now, we're working on making snapshot creation lazy for these cases). Any retried test with a snapshot in it, will throw errors.

from cli.

Robdel12 avatar Robdel12 commented on August 22, 2024

Hey @swissspidy! Would you be able to share logs or build details? The only thing that's required to be unique is the name.

from cli.

swissspidy avatar swissspidy commented on August 22, 2024

Here's a recent CI log:

https://github.com/google/web-stories-wp/runs/2896753308#step:13:18

The first error there is originating from this place where we call percySnapshot():

https://github.com/google/web-stories-wp/blob/a8f73d2aaaf567016dd4780c331ab4e05fb12363/packages/e2e-tests/src/specs/wordpress/pluginActivation.js#L36-L54

Also worth noting that we're doing jest.retryTimes(3); in our test suite to automatically retry failing tests in cases of errors. That might play a role here too.

from cli.

Robdel12 avatar Robdel12 commented on August 22, 2024

Alright, @swissspidy this should be fixed in v1.0.0-beta.55 ๐Ÿ˜ƒ https://www.npmjs.com/package/@percy/cli/v/1.0.0-beta.55 Thanks for raising the issue!

from cli.

swissspidy avatar swissspidy commented on August 22, 2024

Awesome, thank you so much for this quick turnaround! It works like a charm now.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.