Open meghaharidas opened 9 months ago
@meghaharidas I see this error in the console.
Refused to execute script from 'https://dsp.logly.co.jp/6570/sg?id=6570&url=&rurl=&im_uid=' because its MIME type ('image/gif') is not executable.
<script type="text/javascript" async="" src="https://dsp.logly.co.jp/6570/sg?id=6570&url=&rurl=&im_uid="></script>
Perhaps that's causing the issue.
@jennifer-shehane thanks for the reply. As this page is manually opening correctly on chrome browser even in in-Cognito mode. There are no errors in the console. I see this issue only on the cypress browser on test execution. Even if I open the new tab in cypress manually i see the text is garbled. Need you help in confirming whether this issue needs to be fixed from the cypress end. Is there any setting /configuration needs to be done from my side please let me know.
@meghaharidas Yes, we should be handling this situation better. Just highlighting the error we're not handling in case this surfaces something within your app that should be addressed.
any update on this? @jennifer-shehane
Current behavior
I am running the percy using the cypress script for visual automation in my project. Its a Japanese website page and noticed for few of the pages the texts are garbled. The same page when I open directly there are no issues found. When tried running the script using npx cypress open command the below error was captured in the console of the page.
Page URL : https://www.daiwa.jp/products/bond/afr/hm2/FBSbond_r.html cypress_issue_text.docx
percy.yml configurations used
package.json configuration
Desired behavior
There should not be any text garbles and display all the characters properly on the cypress/percy .
Test code to reproduce
The below code is added in my framework to visit the page and capture the screenshot.