From 2ffb01d18daef89c1cea5ca24de220ecc3b6524d Mon Sep 17 00:00:00 2001 From: ShyamOOAI Date: Thu, 24 Oct 2024 16:36:04 +0530 Subject: [PATCH] test:Updated logs (#4902) ## Summary by CodeRabbit - **New Features** - Enhanced UI testing for time precision across multiple pages, including Logs, Traces, Reports, Dashboards, Alerts, and Metrics. - Added tests for both relative and absolute seconds to ensure accurate time settings. - **Bug Fixes** - Updated existing tests to improve verification of time settings on the Metrics and RUM pages. --- .../ui-testing/playwright-tests/secondsPrecisionAdded.spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ui-testing/playwright-tests/secondsPrecisionAdded.spec.js b/tests/ui-testing/playwright-tests/secondsPrecisionAdded.spec.js index 7e32e3740e..dbfc74c099 100644 --- a/tests/ui-testing/playwright-tests/secondsPrecisionAdded.spec.js +++ b/tests/ui-testing/playwright-tests/secondsPrecisionAdded.spec.js @@ -55,12 +55,11 @@ test('Absolute Seconds on Logs page', async ({ page }) => { const logsPage = new LogsPage(page); // Step 1: Navigate to the application and login - //await page.goto('https://alpha1.dev.zinclabs.dev/web/'); + await page.goto(process.env["ZO_BASE_URL"]); await loginPage.gotoLoginPage(); - //await loginPage.login('testing@alpha1.com', 'SecTest@500'); await loginPage.login(process.env["ZO_ROOT_USER_EMAIL"], process.env["ZO_ROOT_USER_PASSWORD"]);