From fa0a862f33edcfe987b601a598a062e5426218c7 Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Fri, 9 Aug 2024 00:33:14 +0200 Subject: [PATCH] chore: Tune log messages --- lib/mixins/navigate.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/mixins/navigate.js b/lib/mixins/navigate.js index cb8f92b..7379244 100644 --- a/lib/mixins/navigate.js +++ b/lib/mixins/navigate.js @@ -263,11 +263,11 @@ export async function navToUrl (url) { const targetPage = pageArrayFromDict(pageDict) .find(({id}) => parseInt(`${id}`, 10) === parseInt(`${pageIdKey}`, 10)); if (targetPage?.url === url) { - this.log.debug(`The page ${targetPage.id} got a new URL ${url}`); + this.log.debug(`The page ${targetPage.id} has the expected URL ${url}`); if (pageReadinessCheckPromise) { this.log.debug('Page readiness monitoring is already running'); } else { - this.log.debug('Monitoring its readiness'); + this.log.debug('Monitoring page readiness'); pageReadinessCheckPromise = performPageReadinessCheck(); await pageReadinessCheckPromise; } @@ -282,7 +282,7 @@ export async function navToUrl (url) { if (pageReadinessCheckPromise) { this.log.debug('Page readiness monitoring is already running'); } else { - this.log.debug('Monitoring its readiness'); + this.log.debug('Monitoring page readiness'); pageReadinessCheckPromise = performPageReadinessCheck(); await pageReadinessCheckPromise; }