Error: Timed out waiting for network requests to idle. #617
-
I am using percy cli latest version I try to run this code module.exports = [
{
name: 'DIY',
url: 'https://dev.tax2win.in/user/login',
execute() {
document.querySelector('#login').value = 'utkarsh.jaiswal@tax2win.in';
document.querySelector('#password').value = 'QWERTY!@#$';
document.querySelector('#button').click();
},
additionalSnapshots: [
{
waitForSelector: '.zsiq_floatmain',
suffix: ' - Source of income page',
execute() {
document
.querySelector(
'a[href*="https://dev.tax2win.in/efile-income-tax-return/sources-of-income"]',
)
.click();
},
},
],
},
]; I am getting this error |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@wwilsman can you kindly help? |
Beta Was this translation helpful? Give feedback.
-
Hey @utkarshjaiswal-tax2win! Can you provide debug logs from your test run? It might be an authentication issue https://docs.percy.io/docs/debugging-sdks#assets-not-captured |
Beta Was this translation helpful? Give feedback.
Hey @utkarshjaiswal-tax2win! Can you provide debug logs from your test run?
Error: Timed out waiting for network requests to idle.
means there were requests that never resolved in asset discovery and the debug logs should say what those requests were. https://docs.percy.io/docs/debugging-sdks#debug-vs-verbose-loggingIt might be an authentication issue https://docs.percy.io/docs/debugging-sdks#assets-not-captured