Comments (12)
@ninadbstack I can confirm the issue is fixed in 1.28.3-beta.0
.
from percy-cypress.
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.
from percy-cypress.
Remove stale
from percy-cypress.
@esetnik Thanks for opening the issue here for icon assets not loading. We have also received the support ticket for the same, we are looking into this.
Note: You will receive most of the updates on the support ticket for the same.
from percy-cypress.
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.
from percy-cypress.
remove stale
from percy-cypress.
Also can confirm this is still happening in the newly released cypress v13.7.0
from percy-cypress.
@esetnik we attempted same using your production website and newer version of cypress and we were unable to reproduce this as replied on the support ticket. We continue to see icons correctly in newer versions of cypress as well.
Example code that we tested with
describe('Test', function() {
it('Logs in with valid credentials', () => {
// Visit the login page
cy.visit('https://frontend.***.com/login');
// Input username
cy.get('input[name="email"]').type(email);
// Input password
cy.get('input[name="password"]').type(password);
// Click on the login button
cy.get('button[type="submit"]').click()
cy.wait(5000);
cy.percySnapshot()
})
})
Versions that we attempted to reproduce with
@percy/client/1.27.7 @percy/cli-exec/1.27.7 @percy/cypress/3.1.2 (node/v20.11.0; cypress/13.6.6)
similarly we also tried with 13.6.4 and 13.6.5.
It would be great if you can provide use with reproducible example. [ Or try above example to see if you can reproduce it ]
from percy-cypress.
I have responded to your email with detailed debug logs from both 13.6.3 and 13.6.4 and there's an obvious difference in asset discovery logs where all of the svg assets are not discovered in 13.6.4. Please review my findings and let me know how to solve this.
from percy-cypress.
We have released a beta version of @percy/cli
for the same 1.28.3-beta.0
this was not directly related to cypress, but indirectly related as cypress upgrade updated internal chrome version from 119 to 121 - where on 119 we needed --webkit-mask
css property and on 121 onwards mask
is supported. So basically mask
was being used in discovery stage of percy which did not support it as it was on older chromium version.
from percy-cypress.
I am testing with 1.28.3-beta.0
now and will let you know if it solves the issue. Thanks!
from percy-cypress.
This will be available in stable release on 12th of April. Till then feel free to use the beta version.
from percy-cypress.
Related Issues (20)
- How to select Approved build as base build?
- Webpages behind Netlify Authentication not showing css in Percy snapshot
- [TypeScript] percySnapshot - TypeError: Cannot read properties of undefined (reading 'isTTY') HOT 19
- [Cypress regression]`TypeError: data.hasOwnProperty is not a function` HOT 12
- [percy] Fails to take dom snapshot
- Does percy with cypress support visual testing of shadow dom elements? HOT 1
- `cy.percySnapshot()` not uploading screenshots when used via `browserstack-cypress` HOT 1
- Percy does not work for Cypress component testing
- Cannot read properties of undefined (reading 'isServer') HOT 9
- SyntaxError: Unexpected identifier HOT 2
- Test is marked as successful, but `Could not take DOM snapshot` error is present.
- The term 'percy' is not recognized as the name of a cmdlet
- Duplicate snapshot name in a parallel build causes missing snapshots HOT 13
- Need the ability to set width and height for screenshots HOT 2
- Snapshot ignores the passed `scope` and renders the whole screen HOT 3
- Percy no longer captures embedded pdf viewer since Cypress v12.15.0 and above HOT 4
- Uncaught error was detected outside of a test: No commands were issued in this test HOT 3
- Specifying "width" instead of "widths" in percySnapshot HOT 4
- Cannot finalize before all snapshots have comparisons created HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from percy-cypress.