test:Updated logs (#4902)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
ShyamOOAI
2024-10-24 16:36:04 +05:30
committed by GitHub
parent b45b6de737
commit 2ffb01d18d
@@ -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"]);