From 74e94e29e6a5dc3679797a1f4322f8abbe484763 Mon Sep 17 00:00:00 2001 From: Alex Kamaev Date: Mon, 4 Sep 2023 13:19:42 +0400 Subject: [PATCH] add --- .../fixtures/regression/gh-7977/testcafe-fixtures/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/functional/fixtures/regression/gh-7977/testcafe-fixtures/index.js b/test/functional/fixtures/regression/gh-7977/testcafe-fixtures/index.js index c1d1f8b790d..d7205fe8f88 100644 --- a/test/functional/fixtures/regression/gh-7977/testcafe-fixtures/index.js +++ b/test/functional/fixtures/regression/gh-7977/testcafe-fixtures/index.js @@ -16,11 +16,14 @@ for (let i = 0; i < 3; i++) { await t.click('button'); /*eslint-disable no-console */ - console.log('request count: ' + logger.requests.length); console.log('----------------------------------------------'); + console.log('request count: ' + logger.requests.length); console.log(JSON.stringify(logger.requests[0])); + console.log('filtered count: ', logger.requests.filter(r => !!r.response.body).length); requestCounter.add(logger.requests.length); + + console.log('counter: ', requestCounter.get()); }); }