Replies: 1 comment 1 reply
-
|
Hey @skareemu! Looks like there's a lot going on here with the auth config, but that's the root cause, the requests aren't being properly authenticated so they're failing ( Using both |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @Robdel12,
As discussed on the other thread, raising a new discussion. Issue is, percy is not capturing full DOM snapshot. It appears like for some of the assets it required authentication. I have gone through the documentation and used the code snippet as shown below. I have also attached full log and snapshot it captured. Appreciate all your help on this.
Spec file code
Log
Package.json
{ "name": "customer-central", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "kareem", "license": "ISC", "devDependencies": { "@percy/cli": "^1.0.0-beta.71", "@percy/cypress": "^3.1.1", "cypress": "^9.1.1" }, "percy": { "version": 2, "snapshot": { "widths": [ 375, 1280 ], "min-height": 1024, "percy-css": "iframe { display: none; }" }, "discovery": { "allowed-hostnames": [ "customertst.nintex.com" ], "authorization": { "username": "[email protected]", "password": "Windows.2000" }, "request-headers": { "Authorization": "Basic dXNlcm5hbWU6cGFzc3dvcmQ=" }, "network-idle-timeout": 150, "concurrency": 20, "disable-cache": false, "launch-options": { "executable": "/path/to/chromium/executable", "headless": true, "args": [], "timeout": 30000 } }, "static": { "base-url": "/blog/", "files": "**/*.html", "ignore": "**/*.htm" }, "upload": { "files": "**/*.{png,jpg,jpeg}", "ignore": "" } } }Beta Was this translation helpful? Give feedback.
All reactions