We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a28c1 commit a3b3a8bCopy full SHA for a3b3a8b
1 file changed
tests/lib/screenshot-testing/support/page-renderer.js
@@ -108,6 +108,12 @@ PageRenderer.prototype.createPage = async function () {
108
this.browserContext = await this.browser.createIncognitoBrowserContext();
109
this.webpage = await this.browserContext.newPage();
110
111
+ if (this.activeRequestCount > 0) {
112
+ console.log('activeRequestCount greater than 0');
113
+ // unset active request count, to ensure request from previous suites don't cause any issues
114
+ this.activeRequestCount = 0;
115
+ }
116
+
117
PAGE_PROPERTIES_TO_PROXY.forEach((propertyName) => {
118
Object.defineProperty(this, propertyName, {
119
value: this.webpage[propertyName],
0 commit comments