percy / percy-cypress

Visual testing with Cypress and Percy
https://percy.io
MIT License
346 stars 40 forks source link

Cypress timeout reached when asset discovery waits on external (not captured) assets #371

Closed Robdel12 closed 3 years ago

Robdel12 commented 3 years ago

Edit: this will be fixed by an upstream CLI PR: https://github.com/percy/cli/pull/400

Picking up from #367 (unrelated parallel issues going on)

cc: @kaminskypavel / @aleksandrlat


Does this happen for a specific snapshot each time? Or is it a different snapshot? If it's the same snapshot, that's good since it's reproducible/repeatable and likely something to do with the DOM.

kaminskypavel commented 3 years ago

as mentioned , here's what did the trick for me https://github.com/percy/percy-cypress/issues/367#issuecomment-869990300

Robdel12 commented 3 years ago

Is it possible to see a video run of a failing test like this from Cypress? It's very strange it takes up to 10 seconds to POST a DOM snapshot to the local Percy server (you can email it to me fwiw: robert at percy.io)

aleksandrlat commented 3 years ago

@Robdel12 I sent you video. The list of failing tests is not exactly the same each time. Sometimes different tests failing.

I'm trying to increase default timeout like @kaminskypavel suggested.

aleksandrlat commented 3 years ago

Timeout increase worked for me too. But what can be root cause? Does percy waits for something to post snapshot?

If I understand correctly it fails on this call https://github.com/percy/percy-cypress/blob/c6c3992310ee908fb62c6075b397ec24f0b60e5a/index.js#L59

Because cypress says

Your callback function returned a promise that never resolved

I.e. callback returned. This means let domSnapshot = window.PercyDOM.serialize({ ...options, dom }); was executed successfully.

tgirgin23 commented 3 years ago

That fixes it on our end as well. Hopefully an actual fix can be proposed as this is only viable temporarily.

Robdel12 commented 3 years ago

Does percy waits for something to post snapshot?

We do wait for asset discovery to finish on that snapshot— that’s always been true since the inception of the SDK though. I received the video, but sadly it doesn’t clear anything up (leaves me with more questions, so not all bad!) Interesting that it looks to fail “fast”.

Has the network idle timeout been adjusted by any chance? I’ll try to comb the logs to see if asset discovery is taking a long time for a specific asset or something like that.

Robdel12 commented 3 years ago

Good news: we have a good idea what's happening and an idea for a fix.

The problem: external requests are hanging asset discovery up, long enough to timeout the snapshot command. I saw a few requests taking 2-5 seconds to resolve on their own, which is more than enough hit this command timeout. These requests also were never going to be captured by asset discovery.

The fix: not track those requests in asset discovery so the CLI isn't waiting for them to resolve (incoming tomorrow -- we're at the end of our work day here now).

aleksandrlat commented 3 years ago

Has the network idle timeout been adjusted by any chance?

No I don't think so in my case

nicobatalla commented 3 years ago

Some snapshots always fail, doesn't matter if I increase the defaultCommandTimeout in Cypress or not.

describe('with session', () => {
    beforeEach(() => {
      cy.login();
    });

    it('Dashboard Snapshots', () => {
      cy.visit('/');
      cy.percySnapshot('Dashboard');

      cy.findByTestId('toggle-sidenav').click();
      cy.percySnapshot('Hidden Sidenav');
    });

    it('Space Snapshots', () => {
      cy.visit('/spaces');
      cy.findByTestId('table-container').should('be.visible');
      cy.percySnapshot('Spaces');
    });

   // More snapshots tests
  });
});

In the above example, everything after "Dashboard Snapshots" (I removed all other tests so it was a shorter example) fails after the timeout. I increased the defaultCommandTimeout up to 30 seconds and it keeps throwing the same error.

aleksandrlat commented 3 years ago

Yeah one of my tests failed today with 10000 timeout too

tomkaos commented 3 years ago

I have the same... Should we need to downgrade to a version?

Robdel12 commented 3 years ago

This should be taken care of once this PR ships today: https://github.com/percy/cli/pull/400

Robdel12 commented 3 years ago

v1.0.0-beta.58 has been released and should take care of this. The builds I debugged all had requests in asset discovery taking a while to respond (external requests that the SDK wasn't going to capture, but was still waited for them to resolve before resolving the percySnapshot promise)

nicobatalla commented 3 years ago

@Robdel12 v1.0.0-beta.58 fixed the issue on my end, thank you

aleksandrlat commented 3 years ago

I got the error again :(

aleksandrlat commented 3 years ago

5 tests failed with this error again nightly. We upgraded to "v1.0.0-beta.58" immediately when it was released.

Robdel12 commented 3 years ago

Can you post logs (--verbose) from the test run? It means there's requests we're waiting to capture that take a while to respond. Verbose logs would show which ones are taking long. Also would be helpful to know what the network idle timeout is set to (anything higher than 500 is too high -- that's 500ms of idle to wait for for 0 requests to be made before stopping asset discovery)

oeddyo commented 3 years ago

Hi @Robdel12 we are seeing all our percy snapshots failing from today. We use retry in cypress but in the past percy was running fine (so I suppose there's no retry for percy commands). However starting today it becomes super flaky. Could you take a look?

oeddyo commented 3 years ago

Tried to increase timeout also worked for me. It seems like a hack though

Robdel12 commented 3 years ago

Sharing the full verbose logs from the test run would be the only way to debug this -- the issue is there's assets take longer than the set timeout to resolve (so it could be the apps test server take a while to respond with the assets). The verbose logs will show which assets are taking a while and then we can figure out what's next from thre

oeddyo commented 3 years ago

I don't know if you have any client side logging/viz.. recent 3 days it's becoming recurring. I believe it should be something all your users experience

How do you enable verbose in percy/cypress? I can help add one. @Robdel12

Robdel12 commented 3 years ago

Anything with the SDKs will be client side. You can pass --verbose to the CLI and then post the logs here, then we'll be able to take a look

aleksandrlat commented 3 years ago

@Robdel12 is this possible to catch this error on Percy level and re-throw with better error message explaining what caused the issue? If you can log it you should probably do this, right?

kamal commented 3 years ago

I'm seeing an issue where a page that has Stripe Elements on it will hang indefinitely. Currently running @percy/cli 1.0.0-beta.60.

When running percy/cli in verbose mode, I don't even see the debug logs output for this particular page.

I then compared the output against a run against Percy 2.x. I see Cypress resolving an asset from Stripe against the wrong base URL. For example, I see

GET /billing/fingerprinted/css/ui-shared-bbb176702b532fdcf3153c8a7f0d754f.css 404 3.742 ms - 211

On Percy 2, it'll just ignore this and move on.

That path does not exist on my local filesystem. The confusion seems to stem from it not taking into account the asset is being loaded inside the Stripe iframe.

In the Stripe iframe, you'll see the path to the CSS defined as

<link href="fingerprinted/css/ui-shared-bbb176702b532fdcf3153c8a7f0d754f.css" rel="stylesheet">

And the file should rightly be loaded from https://js.stripe.com/v3/fingerprinted/css/ui-shared-bbb176702b532fdcf3153c8a7f0d754f.css

I believe Percy is stuck on waiting to fetch this file which Cypress wrongly reports the path as local.

Robdel12 commented 3 years ago

Hey @kamal! Would you be able to share the full verbose SDK logs from a run where it hangs? We fixed the issue that agent had (which carried over to CLI) in this PR: https://github.com/percy/cli/pull/405

I'd like to see the full logs to see what's going on in asset discovery and which asset it is exactly that's causing tests to hang.

kamal commented 3 years ago

@Robdel12 pasting it below. the problematic test is the 2nd one to run. there is no output from percy at all. It just hangs there until you cancel the workflow.

`@percy/cypress@v3` ``` Run cypress-io/github-action@v2 Skipping install because install parameter is false start server "yarn start --path dist -lr false command "yarn start --path dist -lr false" current working directory "/home/runner/work/garaje/garaje" waiting on "http://localhost:4200" with timeout of 60 seconds /usr/local/bin/yarn start --path dist -lr false yarn run v1.22.10 $ ember serve --path dist -lr false Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db – Serving on http://localhost:4200/ GET / 200 2.731 ms - - Cypress test command: npx percy exec -t 300 --parallel --verbose -- cypress run --config screenshotOnRunFailure=true --config-file cypress.json /opt/hostedtoolcache/node/12.18.4/x64/bin/npx percy exec -t 300 --parallel --verbose -- cypress run --config screenshotOnRunFailure=true --config-file cypress.json [percy:config] Found config file: .percy.yml (0ms) [percy:config] Using config: { version: 2, snapshot: { widths: [ 1280 ], minHeight: 800, percyCSS: '.deviceStatus.bad {\n animation: none !important;\n}\n', enableJavaScript: true }, discovery: { disableCache: false, allowedHostnames: [ 'envoy-fonts.s3.amazonaws.com' ], networkIdleTimeout: 300 } } (36ms) [percy:client] Creating a new build... (11ms) [percy:core:install] Downloading Chromium 812847... [percy:core:install] Successfully downloaded Chromium 812847 (8339ms) [percy:core] Percy has started! (521ms) [percy:cli:exec] Running "cypress run --config screenshotOnRunFailure=true --config-file cypress.json" (1ms) ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Cypress: 7.5.0 │ │ Browser: Electron 89 (headless) │ │ Specs: 20 found (billing.index.billing-period.spec.js, billing.subscribe.spec.js, deliver │ │ ies.log.delivery.photo.spec.js, deliveries.settings.delivery-areas.delivery-area.n │ │ otifications.spec.js, desks.get-started.spec.js, desks.show.map.spec.js, employees │ │ .directory....) │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ─���────────────────────────────────────────────────────────────────────────────────────────────────── Running: billing.index.billing-period.spec.js (1 of 20) GET / 200 1.127 ms - 39528 GET /assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css 200 0.455 ms - - GET /assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css 200 0.772 ms - - GET /assets/garaje-58b94869503105c8ac77fa5614f6d788.js 200 28.913 ms - - GET /assets/vendor-acff8200dbe756bd2cc29dde9954fc22.js 200 10.620 ms - - GET /assets/images/lock-427acf0e9032d7cba6add95a09744021.svg 200 0.431 ms - 378 GET /assets/images/logo-4809021238a48b1c2864cdba71564128.svg 200 0.410 ms - - GET /assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg 200 0.698 ms - 213 GET /assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg 200 0.411 ms - 558 GET /assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg 200 0.517 ms - 1018 GET /assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg 200 1.051 ms - 245 GET /assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg 200 0.350 ms - 751 GET /assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg 200 0.333 ms - 958 GET /assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg 200 0.372 ms - - GET /assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg 200 0.337 ms - - GET /assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg 200 0.328 ms - 407 GET /assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg 200 0.307 ms - - GET /assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg 200 0.310 ms - - GET /assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg 200 0.327 ms - - GET /assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg 200 0.349 ms - - GET /assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg 200 0.313 ms - 909 GET /assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg 200 0.365 ms - 958 GET /assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg 200 0.334 ms - 752 GET /assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg 200 0.312 ms - - GET /assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg 200 0.473 ms - - GET /assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg 200 0.474 ms - - GET /assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg 200 0.295 ms - 950 GET /assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 4.960 ms - 1018 GET /assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.279 ms - 1018 GET /assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg 200 0.269 ms - 417 GET /assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png 200 0.366 ms - 348 GET /assets/images/cards-a5f1348fe7c159428f38f8c26ebcb82e.png 200 0.303 ms - 9221 GET /assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg 200 0.313 ms - - GET /assets/images/app-icons/deliveries-a7230719cbd206d4de5fae26eec430ba.svg 200 0.269 ms - - GET /assets/images/app-icons/rooms-eb37606ccbb74a5eb978024562782961.svg 200 0.288 ms - - GET /assets/images/app-icons/desks-701b2d3088b014381a32d059fff32e45.svg 200 0.316 ms - - GET /assets/images/arrow-right-grayDarker-0e85e63779200db058516b3291fb3031.svg 200 0.437 ms - 196 GET /assets/images/progress-small-gray-3f1e9f9b36f7ad94cb7205ca8b05afb9.svg 200 0.269 ms - 511 [percy:core] --------- (25058ms) [percy:core] Handling snapshot: (0ms) [percy:core] -> name: billing.index.billing-period (0ms) [percy:core] -> url: http://localhost:4200/billing/deliveries/billing-period (0ms) [percy:core] -> widths: 1280px (0ms) [percy:core] -> minHeight: 800px (0ms) [percy:core] -> enableJavaScript: true (0ms) [percy:core] -> clientInfo: @percy/cypress/3.1.1 (0ms) [percy:core] -> environmentInfo: cypress/7.5.0 (0ms) [percy:core:page] Initialize page (7ms) [percy:core:page] Resize page to 1280x1024 (29ms) [percy:core:page] Navigate to: http://localhost:4200/billing/deliveries/billing-period (8ms) [percy:core:discovery] Handling request: http://localhost:4200/billing/deliveries/billing-period (11ms) [percy:core:discovery] -> Serving root resource (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css (26ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css (3ms) GET /assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css 200 0.375 ms - - [percy:core:discovery] Handling request: http://localhost:4200/assets/vendor-acff8200dbe756bd2cc29dde9954fc22.js (16ms) GET /assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css 200 0.552 ms - - [percy:core:discovery] Handling request: cdn.headwayapp.co/widget.js (9ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/garaje-58b94869503105c8ac77fa5614f6d788.js (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/arrow-right-grayDarker-0e85e63779200db058516b3291fb3031.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/app-icons/deliveries-a7230719cbd206d4de5fae26eec430ba.svg (2ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/logo-4809021238a48b1c2864cdba71564128.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/app-icons/rooms-eb37606ccbb74a5eb978024562782961.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/app-icons/desks-701b2d3088b014381a32d059fff32e45.svg (7ms) [percy:core:discovery] Processing resource: cdn.headwayapp.co/widget.js (14ms) [percy:core:discovery] -> Skipping remote resource (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css (1ms) [percy:core:discovery] -> sha: 2664edafe13d6b56065b10470354c3c566944f10b870efe1b8398d4b8b810036 (1ms) [percy:core:discovery] -> mimetype: text/css (1ms) GET /assets/images/arrow-right-grayDarker-0e85e63779200db058516b3291fb3031.svg 200 0.547 ms - 196 GET /assets/images/app-icons/deliveries-a7230719cbd206d4de5fae26eec430ba.svg 200 0.287 ms - - GET /assets/images/logo-4809021238a48b1c2864cdba71564128.svg 200 0.287 ms - - GET /assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg 200 0.266 ms - - GET /assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg 200 0.324 ms - - [percy:core:discovery] Processing resource: http://localhost:4200/assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css (67ms) [percy:core:discovery] -> sha: 53cdf2e47e2ab4b3cab721158808c8b378061ea322250f43793553ec63f38540 (3ms) [percy:core:discovery] -> mimetype: text/css (6ms) GET /assets/images/app-icons/rooms-eb37606ccbb74a5eb978024562782961.svg 200 1.295 ms - - GET /assets/images/app-icons/desks-701b2d3088b014381a32d059fff32e45.svg 200 0.412 ms - - [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/arrow-right-grayDarker-0e85e63779200db058516b3291fb3031.svg (95ms) [percy:core:discovery] -> sha: 3486f097de75ad50ecb28f4e665c4937c638de13b459b1a65daf2007347cd33b (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/app-icons/deliveries-a7230719cbd206d4de5fae26eec430ba.svg (0ms) [percy:core:discovery] -> sha: 4093dc50fad398acb639e42951293e86081b705a2e150e01c12b97e730638280 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/logo-4809021238a48b1c2864cdba71564128.svg (0ms) [percy:core:discovery] -> sha: 3fd8798a35542e2fd114485b1ba36eaf4739d4abe996f573381197248eb0e368 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg (44ms) [percy:core:discovery] -> sha: cac6c8e542d88c77b548831e7a29734f59c9c8c5fc7ae49080f0579563983012 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg (1ms) [percy:core:discovery] -> sha: fd3bebe7ce855072b648448ef67c336c36b5f7233f94d4a30dd907bb5decce8c (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/app-icons/rooms-eb37606ccbb74a5eb978024562782961.svg (9ms) [percy:core:discovery] -> sha: 3ff039b15ed41b7e5af982d064328fd9c46794be83eeb35689a743d6cf87b336 (1ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/app-icons/desks-701b2d3088b014381a32d059fff32e45.svg (3ms) [percy:core:discovery] -> sha: f6efba69c3dccea1efb6a5cb525b10426db1a0f34b56ad90ddf78e10cdf08b82 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) GET /assets/garaje-58b94869503105c8ac77fa5614f6d788.js 200 18.227 ms - - GET /assets/vendor-acff8200dbe756bd2cc29dde9954fc22.js 200 18.717 ms - - [percy:core:discovery] Processing resource: http://localhost:4200/assets/garaje-58b94869503105c8ac77fa5614f6d788.js (1647ms) [percy:core:discovery] -> sha: c09763b03c1569bcfc7885282688f58666542f29c40de00428f894e40f81ff79 (63ms) [percy:core:discovery] -> mimetype: application/javascript (0ms) [percy:core:discovery] Handling request: http://ps6.pubnub.com/time/0?uuid=8612c6e9-e1d5-4a6a-945b-e890cce23e84&pnsdk=PubNub-JS-Web%2F3.7.23 (423ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg (15ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg (2ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg (2ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg (2ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg (2ms) GET /assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg 200 0.355 ms - 213 GET /assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg 200 0.262 ms - 558 GET /assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg 200 0.264 ms - 1018 GET /assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg 200 0.416 ms - 751 [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg (2ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg (10ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/cards-a5f1348fe7c159428f38f8c26ebcb82e.png (4ms) GET /assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg 200 0.253 ms - - [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg (6ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg (0ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg (0ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg (0ms) [percy:core:discovery] Handling request: envoy-fonts.s3.amazonaws.com/sofia-pro/3AF984_A_0.woff2 (1ms) [percy:core:discovery] Handling request: envoy-fonts.s3.amazonaws.com/sofia-pro/3AF984_C_0.woff2 (0ms) [percy:core:discovery] Handling request: envoy-fonts.s3.amazonaws.com/sofia-pro/3AF984_7_0.woff2 (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg (0ms) GET /assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg 200 0.258 ms - 958 [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg (1ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg (0ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg (0ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg (1ms) GET /assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg 200 0.227 ms - 407 [percy:core:discovery] Handling request: http://localhost:4200/assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg (0ms) [percy:core:discovery] Handling request: http://localhost:4200/assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png (0ms) GET /assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg 200 0.284 ms - - GET /assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg 200 0.229 ms - - GET /assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg 200 0.264 ms - - GET /assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg 200 0.263 ms - 245 GET /assets/images/cards-a5f1348fe7c159428f38f8c26ebcb82e.png 200 0.327 ms - 9221 GET /assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg 200 0.354 ms - - GET /assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg 200 0.278 ms - 909 GET /assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg 200 0.331 ms - 958 GET /assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg 200 0.526 ms - 752 GET /assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg 200 0.244 ms - - GET /assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg 200 0.229 ms - 950 GET /assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.335 ms - 1018 GET /assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg 200 0.486 ms - - GET /assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg 200 0.252 ms - - GET /assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.959 ms - 1018 GET /assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg 200 0.254 ms - 417 GET /assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png 200 0.443 ms - 348 [percy:core:discovery] Processing resource: http://localhost:4200/assets/vendor-acff8200dbe756bd2cc29dde9954fc22.js (1774ms) [percy:core:discovery] -> Skipping resource larger than 15MB (10ms) [percy:core:discovery] Processing resource: http://ps6.pubnub.com/time/0?uuid=8612c6e9-e1d5-4a6a-945b-e890cce23e84&pnsdk=PubNub-JS-Web%2F3.7.23 (3564ms) [percy:core:discovery] -> Skipping remote resource (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg (79ms) [percy:core:discovery] -> sha: 18de7104af7c9dc60931178d2a3c1726e1399a39a215f62ecc3842edd16a4aae (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg (2ms) [percy:core:discovery] -> sha: 90224555069d3ac2245e3c8e8c4dc1c06586f8242753c3d237a77c2afc689516 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg (2ms) [percy:core:discovery] -> sha: 9cda4ad05679f1dd0f89c7b33775301597524f2a78bcfba634584c5ab9590d03 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg (1ms) [percy:core:discovery] -> sha: d131ce433997d2380b5a143ce044af7e9531e0343657ab366fd016afaea8d384 (1ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg (1ms) [percy:core:discovery] -> sha: 24416372d203b9c3fd23eb5f85d1204c7804ddf0ea99b274e7f09aa8d695a23c (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg (2ms) [percy:core:discovery] -> sha: ea12544e8ac156fd62ddd66fbb83ac1792db4e789d28346cdbf4e60a5248bca7 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg (2ms) [percy:core:discovery] -> sha: 172affa405489fb7a8fd69e64d5245e494de94c5f732fe8fed47f309b69d1213 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg (2ms) [percy:core:discovery] -> sha: d1574b8bbf1cc5ecf0941ed4396884cedbb35ebf830ba77657cd7b04b4c96a8e (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg (1ms) [percy:core:discovery] -> sha: 21f7a18a2fbc687e1dc3b2476f2623e74dd341fec46b2587867093b6c9a2a66d (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg (1ms) [percy:core:discovery] -> sha: 1f6f18f2faf58228be89baa7f1aa730ab27bb4c721019d621cbf5ce1d660879e (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg (0ms) [percy:core:discovery] -> sha: bf153004304493d27d92dc4d05b762615b4b09afefaa40c828c9220187c8d494 (1ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/cards-a5f1348fe7c159428f38f8c26ebcb82e.png (1ms) [percy:core:discovery] -> sha: d5f0d38173c6e76177fe1cc4478ece8d6b288cf76987d5cad9a03154809a732d (0ms) [percy:core:discovery] -> mimetype: image/png (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg (1ms) [percy:core:discovery] -> sha: 0ba434a003e69e878bd3f7b3f67b2e0e55b57e28867adbae6a89c53085f8a386 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg (1ms) [percy:core:discovery] -> sha: 9c2e94e0c9dac2379b148d7b39857149c63181480c6f6f40faf9282c39ce9d93 (1ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg (0ms) [percy:core:discovery] -> sha: 08c2b7604b833dd139d1a15efa1564064a5f8738d4fbdc9bd7a0dd850dd4fe9a (1ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg (1ms) [percy:core:discovery] -> sha: 8ad47a727ebb62ab9f12bc38b7e1638d88220791a75737fd20c22f92975ddf7c (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (1ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg (0ms) [percy:core:discovery] -> sha: f32d9ccdfbee4aeee4588b05f4b14b9a22a12b93107c48e70448a7b65ae9bd93 (1ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg (1ms) [percy:core:discovery] -> sha: da94f9cd44f27978f7b71befb6c9ca880a9e82506b3fca8dbd91bfecdd390781 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg (1ms) [percy:core:discovery] -> sha: 1a55055bf34236f47f5e99bf214d91452a135d0fe5fbf125691d767928c39af2 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg (1ms) [percy:core:discovery] -> sha: 1a30a7d7271621952f4f0b50526453ccd2a5c941c2da637057965b4bc3e46973 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (1ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg (1ms) [percy:core:discovery] -> sha: 46dd90ec6ce18878552a6ebe36f6a7827b78faf7430346d4e068db53d62f3abd (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg (1ms) [percy:core:discovery] -> sha: 1a55055bf34236f47f5e99bf214d91452a135d0fe5fbf125691d767928c39af2 (0ms) [percy:core:discovery] -> mimetype: image/svg+xml (1ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg (0ms) [percy:core:discovery] -> sha: f79de1e8523adbf9b4e7da9fc89eddbae8f84e7930f1a6b9196f204fb36130fe (1ms) [percy:core:discovery] -> mimetype: image/svg+xml (0ms) [percy:core:discovery] Processing resource: http://localhost:4200/assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png (0ms) [percy:core:discovery] -> sha: 6f7c93c8f53c5b9e998cb30eb309971e997dc8190b36969ed3091574ecc9f59b (1ms) [percy:core:discovery] -> mimetype: image/png (0ms) [percy:core:page] Page navigated (27ms) [percy:core:network] Wait for 300ms idle (1ms) [percy:core:discovery] Processing resource: envoy-fonts.s3.amazonaws.com/sofia-pro/3AF984_A_0.woff2 (33ms) [percy:core:discovery] -> sha: c8e1256266c0391a3b1ab1dfca007b8c4b86463691cdeab86b128f88cfc9565e (1ms) [percy:core:discovery] -> mimetype: binary/octet-stream (0ms) [percy:core:discovery] Processing resource: envoy-fonts.s3.amazonaws.com/sofia-pro/3AF984_C_0.woff2 (19ms) [percy:core:discovery] -> sha: 119bf6db04bad406a758e3d0a7e8bd5817a49eb8fc0e7efe3acdee14a8ec0128 (0ms) [percy:core:discovery] -> mimetype: binary/octet-stream (0ms) [percy:core:discovery] Processing resource: envoy-fonts.s3.amazonaws.com/sofia-pro/3AF984_7_0.woff2 (4ms) [percy:core:discovery] -> sha: 9be8b3866f67f16e76843a463a338dd8496beb2ebf2053769e015e5f6a0f9e2b (1ms) [percy:core:discovery] -> mimetype: binary/octet-stream (0ms) [percy:core] Snapshot taken: billing.index.billing-period (310ms) [percy:client] Creating snapshot: billing.index.billing-period... (1ms) [percy:core:page] Page closing (25ms) (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 1 │ │ Passing: 1 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: false │ │ Duration: 19 seconds │ │ Spec Ran: billing.index.billing-period.spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: billing.subscribe.spec.js (2 of 20) [percy:client] Uploading resources for 11783502... (204ms) [percy:client] Uploading resource: http://localhost:4200/billing/deliveries/billing-period... (0ms) [percy:client] Uploading resource: /percy.1627440484258.log... (10ms) [percy:client] Finalizing snapshot 662914693... (367ms) GET /billing/subscribe?period=monthly&plan=premium 200 0.893 ms - 39528 GET /assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css 200 0.430 ms - - GET /assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css 200 0.440 ms - - GET /assets/garaje-58b94869503105c8ac77fa5614f6d788.js 200 4.495 ms - - GET /assets/vendor-acff8200dbe756bd2cc29dde9954fc22.js 200 11.059 ms - - GET /assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg 200 0.418 ms - 213 GET /assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg 200 0.283 ms - 558 GET /assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg 200 0.337 ms - 1018 GET /assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg 200 0.330 ms - 751 GET /assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg 200 0.338 ms - 958 GET /assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg 200 0.303 ms - - GET /assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg 200 0.305 ms - - GET /assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg 200 0.304 ms - 950 GET /assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg 200 0.372 ms - 417 GET /assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg 200 0.274 ms - 909 GET /assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg 200 0.303 ms - 407 GET /assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg 200 0.327 ms - - GET /assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg 200 0.452 ms - 752 GET /assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg 200 0.392 ms - - GET /assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.345 ms - 1018 GET /assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.340 ms - 1018 GET /assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png 200 0.277 ms - 348 GET /assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg 200 0.444 ms - 958 GET /assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg 200 0.310 ms - 245 GET /assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg 200 0.299 ms - - GET /assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg 200 0.490 ms - - GET /assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg 200 1.541 ms - - GET /assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg 200 0.450 ms - - GET /assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg 200 0.456 ms - - GET /assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg 200 0.437 ms - - GET /assets/images/logo-4809021238a48b1c2864cdba71564128.svg 200 0.319 ms - - Error: The operation was canceled. ```

Compare this run against @percy/cypress@2 and you'll see the 404 for the Stripe asset, but with base url confusion

`@percy/cypress@v2` ``` Run cypress-io/github-action@v2 Skipping install because install parameter is false start server "yarn start --path dist -lr false command "yarn start --path dist -lr false" current working directory "/home/runner/work/garaje/garaje" waiting on "http://localhost:4200" with timeout of 60 seconds /usr/local/bin/yarn start --path dist -lr false yarn run v1.22.10 $ ember serve --path dist -lr false Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db – Serving on http://localhost:4200/ GET / 200 2.199 ms - - Cypress test command: npx percy exec -t 300 -- cypress run --config screenshotOnRunFailure=true --config-file cypress.json /opt/hostedtoolcache/node/12.18.4/x64/bin/npx percy exec -t 300 -- cypress run --config screenshotOnRunFailure=true --config-file cypress.json [percy] created build #1860: percy.io/envoy/garaje-cypress/builds/11773695 [percy] percy has started. ==================================================================================================== (Run Starting) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Cypress: 7.5.0 │ │ Browser: Electron 89 (headless) │ │ Specs: 20 found (billing.index.billing-period.spec.js, billing.subscribe.spec.js, deliver │ │ ies.log.delivery.photo.spec.js, deliveries.settings.delivery-areas.delivery-area.n │ │ otifications.spec.js, desks.get-started.spec.js, desks.show.map.spec.js, employees │ │ .directory....) │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: billing.index.billing-period.spec.js (1 of 20) GET / 200 0.414 ms - 39528 GET /assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css 200 0.437 ms - - GET /assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css 200 0.524 ms - - GET /assets/garaje-b60abadfbffcf4e56902e153ae137bb1.js 200 6.818 ms - - GET /assets/vendor-7a246662cfe0dd6a45fc7fdbb3b43920.js 200 9.460 ms - - GET /assets/images/lock-427acf0e9032d7cba6add95a09744021.svg 200 0.399 ms - 378 GET /assets/images/logo-4809021238a48b1c2864cdba71564128.svg 200 0.385 ms - - GET /assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg 200 0.391 ms - 213 GET /assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg 200 0.345 ms - 558 GET /assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg 200 0.351 ms - 1018 GET /assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg 200 0.349 ms - 751 GET /assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg 200 0.338 ms - 245 GET /assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg 200 0.313 ms - - GET /assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg 200 0.268 ms - 958 GET /assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg 200 0.265 ms - - GET /assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg 200 0.252 ms - 407 GET /assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg 200 0.337 ms - - GET /assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg 200 0.337 ms - - GET /assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg 200 0.295 ms - - GET /assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg 200 0.262 ms - 909 GET /assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg 200 0.243 ms - - GET /assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg 200 0.306 ms - - GET /assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg 200 0.259 ms - - GET /assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg 200 0.235 ms - - GET /assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg 200 0.244 ms - 958 GET /assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg 200 0.252 ms - 752 GET /assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg 200 0.281 ms - 950 GET /assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 1.138 ms - 1018 GET /assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.241 ms - 1018 GET /assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg 200 0.334 ms - 417 GET /assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png 200 0.262 ms - 348 GET /assets/images/cards-a5f1348fe7c159428f38f8c26ebcb82e.png 200 0.234 ms - 9221 GET /assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg 200 0.289 ms - - GET /assets/images/app-icons/deliveries-a7230719cbd206d4de5fae26eec430ba.svg 200 0.253 ms - - GET /assets/images/app-icons/rooms-eb37606ccbb74a5eb978024562782961.svg 200 0.229 ms - - GET /assets/images/app-icons/desks-701b2d3088b014381a32d059fff32e45.svg 200 0.224 ms - - GET /assets/images/arrow-right-grayDarker-0e85e63779200db058516b3291fb3031.svg 200 0.358 ms - 196 GET /assets/images/progress-small-gray-3f1e9f9b36f7ad94cb7205ca8b05afb9.svg 200 0.292 ms - 511 GET /assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css 200 0.328 ms - - GET /assets/images/arrow-right-grayDarker-0e85e63779200db058516b3291fb3031.svg 200 0.227 ms - 196 GET /assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css 200 0.426 ms - - GET /assets/images/app-icons/deliveries-a7230719cbd206d4de5fae26eec430ba.svg 200 0.206 ms - - GET /assets/images/logo-4809021238a48b1c2864cdba71564128.svg 200 0.207 ms - - GET /assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg 200 0.201 ms - - GET /assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg 200 1.489 ms - - GET /assets/images/app-icons/rooms-eb37606ccbb74a5eb978024562782961.svg 200 0.217 ms - - GET /assets/images/app-icons/desks-701b2d3088b014381a32d059fff32e45.svg 200 0.208 ms - - GET /assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg 200 0.337 ms - 213 GET /assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg 200 0.229 ms - 558 GET /assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg 200 1.081 ms - 1018 GET /assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg 200 0.194 ms - 751 GET /assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg 200 0.183 ms - 958 GET /assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg 200 0.191 ms - - GET /assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg 200 0.185 ms - - GET /assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg 200 0.230 ms - 407 GET /assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg 200 0.237 ms - - GET /assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg 200 0.188 ms - - GET /assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg 200 0.184 ms - 245 GET /assets/images/cards-a5f1348fe7c159428f38f8c26ebcb82e.png 200 0.198 ms - 9221 GET /assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg 200 0.193 ms - - GET /assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg 200 0.239 ms - 909 GET /assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg 200 0.197 ms - 958 GET /assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg 200 0.187 ms - 752 GET /assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg 200 0.186 ms - 950 GET /assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.200 ms - 1018 GET /assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.215 ms - 1018 GET /assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg 200 0.207 ms - - GET /assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg 200 0.193 ms - - GET /assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg 200 0.182 ms - - GET /assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg 200 0.226 ms - 417 GET /assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png 200 0.391 ms - 348 [percy] snapshot taken: 'billing.index.billing-period' (Results) ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 1 │ │ Passing: 1 │ │ Failing: 0 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 0 │ │ Video: false │ │ Duration: 10 seconds │ │ Spec Ran: billing.index.billing-period.spec.js │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ──────────────────────────────────────────────────────────────────────────────────────────────────── Running: billing.subscribe.spec.js (2 of 20) GET /billing/subscribe?period=monthly&plan=premium 200 0.444 ms - 39528 GET /assets/vendor-9a359be86ff9a931a8ecef8dc43f024c.css 200 0.365 ms - - GET /assets/garaje-8f5af9bf81a29eebf68175b78e70a6b8.css 200 0.899 ms - - GET /assets/garaje-b60abadfbffcf4e56902e153ae137bb1.js 200 36.290 ms - - GET /assets/vendor-7a246662cfe0dd6a45fc7fdbb3b43920.js 200 9.662 ms - - GET /assets/images/arrow-single-2d8e09a737aa48ecf26765058152ad35.svg 200 0.277 ms - 213 GET /assets/images/sidebar/mainNav-slate/dashboard-8cf9aef164c948e40e37c6b0ca9401a1.svg 200 0.246 ms - 558 GET /assets/images/sidebar/mainNav-slate/schedule-01cd5e690c35d5b903d4e2171d6f9e93.svg 200 0.226 ms - 1018 GET /assets/images/trash-white-395e306e69308215b7bf77c2dcd5c684.png 200 0.314 ms - 348 GET /assets/images/sidebar/mainNav-slate/protect-640bdc439ae9f4d21abd2a6e05ee1822.svg 200 0.199 ms - 751 GET /assets/images/sidebar/mainNav-slate/deliveries-74ec1bbc2ed980956ff5beae50242c70.svg 200 0.186 ms - 958 GET /assets/images/sidebar/mainNav-slate/visitors-9ede6a269126ced0134c86838f1b0822.svg 200 0.962 ms - - GET /assets/images/sidebar/mainNav-red/visitors-090a3ea85d0fd71206ff8196eccd0fe9.svg 200 0.199 ms - - GET /assets/images/sidebar/mainNav-red/integrations-fe1c83f77c43f02271c19d7dffdb2719.svg 200 0.186 ms - - GET /assets/images/sidebar/mainNav-filled/visitors-650b0fcfb7fd4c95177b105ebcffe75b.svg 200 0.188 ms - 909 GET /assets/images/sidebar/mainNav-filled/employees-4812e9b7e84cdab87356da5a1c51480b.svg 200 0.202 ms - 950 GET /assets/images/sidebar/mainNav-filled/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.229 ms - 1018 GET /assets/images/error-icon-674ef5ae1e4fc950f37ca5b0af9b7b57.svg 200 0.208 ms - 245 GET /assets/images/sidebar/mainNav-red/employees-550e43060f0ffcbbef291e76c0c298f9.svg 200 0.217 ms - - GET /assets/images/sidebar/mainNav-red/schedule-09ee8fbe9b2879b416d0483a7188b1c1.svg 200 0.249 ms - 1018 GET /assets/images/sidebar/mainNav-red/deliveries-2ff7e137a96c61c4b320770302fb76e7.svg 200 0.251 ms - 958 GET /assets/images/sidebar/mainNav-filled/integrations-84ff415a5ad9a3009f7680a92f3a3367.svg 200 0.218 ms - - GET /assets/images/search-field-active-533e4d906af376f07a613f90001eafa6.svg 200 0.190 ms - 417 GET /assets/images/sidebar/mainNav-filled/deliveries-56ec18a6cf5fe85473946165123fb3b1.svg 200 0.188 ms - 752 GET /assets/images/logo-small-red-29747f5d18c38b072069367be9afc3ba.svg 200 0.192 ms - - GET /assets/images/sidebar/mainNav-slate/desks-5a312b1fa502eb1d64508fb34e340ae8.svg 200 0.262 ms - - GET /assets/images/sidebar/mainNav-slate/rooms-036141efe2016d2cdbd1c24c21e8f5e6.svg 200 2.092 ms - 407 GET /assets/images/sidebar/mainNav-slate/employees-52741a0d1c445e7db19b6abf09b94b0d.svg 200 0.206 ms - - GET /assets/images/sidebar/mainNav-slate/integrations-7cd7b5e793c308fc45037fa5d16c5ba9.svg 200 0.196 ms - - GET /assets/images/logo-4809021238a48b1c2864cdba71564128.svg 200 0.180 ms - - GET /assets/images/app-icons/visitors-3829c4a4fc5b8d98ef3d3f539cf394ea.svg 200 0.303 ms - - GET /billing/fingerprinted/css/ui-shared-bbb176702b532fdcf3153c8a7f0d754f.css 404 1.518 ms - 211 [percy] snapshot taken: 'billing.subscribe' ```
Robdel12 commented 3 years ago

🤨 Hm, I don't see any requests in Percy's logs for /billing/fingerprinted/css/.... -- it doesn't look like that asset is hanging asset discovery. This isn't a Percy log (it's Cypress). If it's being discovered by asset discovery, then it should log out for that snapshot. I also don't see this log in the CLI logs, either (but it is in the agent logs)

GET /billing/fingerprinted/css/ui-shared-bbb176702b532fdcf3153c8a7f0d754f.css 404 1.518 ms - 211

Are these the full logs (unedited)? Any ideas for what caused this error?

Error: The operation was canceled.

Was it CI that canceled the run? I don't see any errors/exceptions in the logs to explain that. The second test (Running: billing.subscribe.spec.js (2 of 20)) doesn't capture a Percy snapshot before the exception is hit, either.

I also noticed enableJavaScript: true is set, any reasons for that? This could cause issues too (since JS would execute in asset discovery & then in our browsers). We generally highly recommend having JS disabled. Apps are almost never prepared to rerun JS over fully formed DOM.

kamal commented 3 years ago

it's unedited. the error is caused by me cancelling the github action after letting it sit there for 20 minutes doing nothing. enableJavascript is usually false, but i was trying various things to see if it would fix the issue. I can revert this back to false and it'll hit the same issue in the exact same spot.

if i comment out the cy.percySnapshot() call in my cypress script, the test will finish.

Robdel12 commented 3 years ago

I think this is related to https://github.com/percy/cli/pull/453 -- can you give @percy/cli@1.0.0-beta.61 a shot? There were a few similar issues on other SDKs that were solved by that bugfix

kamal commented 3 years ago

@Robdel12 no luck, still same results

Robdel12 commented 3 years ago

Hm, it doesn't seem like this is related to the issue we're commenting on. Can you open an new issue with verbose logs from beta 61 (I see build 11834913 failed with a finalize error)? If possible a reproduction for us to play with would be awesome (it's hard to debug env issues without it)

github-actions[bot] commented 3 years ago

This issue is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

Robdel12 commented 3 years ago

🤦🏻‍♂️I knew I forgot an issue to update. Can you give beta 65 a try? I think https://github.com/percy/cli/pull/490 fixed the issue you were seeing

kamal commented 3 years ago

@Robdel12 i just tried this with beta 65 and it did not fix the issue unfortunately.

kamal commented 3 years ago

@Robdel12 i no longer have this issue with beta 66!

wwilsman commented 3 years ago

Going to close this now that it seems to be resolved. 👍