From be29543b90dcd4523cd6c7109c749358db8d9997 Mon Sep 17 00:00:00 2001 From: stanislavchalapko Date: Tue, 17 Sep 2024 21:55:45 +0300 Subject: [PATCH] update version --- .../main-components/component-grid-layout.spec.js | 7 +++++++ tests/view-mode.spec.js | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/components/main-components/component-grid-layout.spec.js b/tests/components/main-components/component-grid-layout.spec.js index 98cde46e..18593d9d 100644 --- a/tests/components/main-components/component-grid-layout.spec.js +++ b/tests/components/main-components/component-grid-layout.spec.js @@ -79,6 +79,13 @@ mainTest.describe(() => { // }); mainTest(qase(1729,'PENPOT-1729 Move a component between pages'), async ({page, context}) => { + const playwrightVersion = require('@playwright/test/package.json').version; + const browserVersion = await browser.version(); + const userAgent = await page.evaluate(() => navigator.userAgent); + + console.log('User-Agent:', userAgent); + console.log('WebKit version:', browserVersion); + console.log('Playwright version:', playwrightVersion); await mainPage.createComponentViaRightClick(); await mainPage.waitForChangeIsSaved(); await mainPage.clickViewportOnce(); diff --git a/tests/view-mode.spec.js b/tests/view-mode.spec.js index 06cfdda8..1fa8e7f2 100644 --- a/tests/view-mode.spec.js +++ b/tests/view-mode.spec.js @@ -177,11 +177,11 @@ mainTest.describe(() => { // }); mainTest(qase([689], 'CO-368 Interactions dropdown'), async ({ page }) => { + const userAgent = await page.evaluate(() => navigator.userAgent); const playwrightVersion = require('@playwright/test/package.json').version; - const browserVersion = await browser.version(); - console.log('WebKit version:', browserVersion); console.log('Playwright version:', playwrightVersion); + console.log('User-Agent:', userAgent); await mainPage.createDefaultBoardByCoordinates(300, 300); await mainPage.createDefaultBoardByCoordinates(500, 500, true); await mainPage.waitForChangeIsSaved();