You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handling responsiveSnapshotCapture from Build and Snapshot Level (#1169)
* responsiveSnapshotCapture implementation
* eslint fixes
* enableJS condition fix
* enableJS condition fix
* console statements changed to log
* unit test fix
* fixes
* mobile browser widths inclusion
* lint fix
* added unit tests
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* unit tests fixes
* lint fix
* Update src/utils.js
Co-authored-by: Copilot <[email protected]>
* added comment
* removing redundant code and adding unit tests
* fixing unit tests
* import fix
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* unit tests
* adding debug logs in catureResponsiveDOM
* Update src/utils.js
Co-authored-by: Copilot <[email protected]>
* checkresize function refactor
* adding test for changeviewport function and changing name of getwidths function
* adding test for changeviewport function and changing name of getwidths function
* test fixes
* test fixes
* test fixes
* test fixes
* test fixes
---------
Co-authored-by: Copilot <[email protected]>
log.warn(`Invalid value for PERCY_RESPONSIVE_CAPTURE_SLEEP_TIME: "${process.env.PERCY_RESPONSIVE_CAPTURE_SLEEP_TIME}". Using fallback value of 0 seconds.`);
572
+
sleepTime=0;
573
+
}
574
+
log.debug(`Sleeping for ${sleepTime} seconds before capturing snapshot`);
0 commit comments