mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 16:09:05 +00:00
### **PR Type**
Tests, Enhancement
___
### **Description**
- Replace console logs with testLogger
- Improve logs page navigation robustness
- Add streaming response verification logging
- Comment out SDR page objects
___
### Diagram Walkthrough
```mermaid
flowchart LR
LogsPage["LogsPage"] -- "console.* -> testLogger.*" --> Logging["Centralized test logging"]
LogsPage -- "navigation retries, params" --> Navigation["More robust navigation"]
LogsPage -- "response checks" --> Streaming["Streaming/JSON response verification"]
PageManager["PageManager"] -- "comment out" --> SDR["SDR page objects"]
```
<details> <summary><h3> File Walkthrough</h3></summary>
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>logsPage.js</strong><dd><code>Centralize logging and
harden LogsPage behavior</code>
</dd></summary>
<hr>
tests/ui-testing/pages/logsPages/logsPage.js
<ul><li>Swap console.log/error to testLogger.debug/error<br> <li>
Enhance VRL editor detection and fallback reload<br> <li> Add detailed
network response checks for search/streaming<br> <li> Adjust messages
around errors and no data cases</ul>
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/8730/files#diff-8045b343491d8943869c1af74cdafab204dc49c02a70294417e73f47d35e0b59">+75/-75</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>page-manager.js</strong><dd><code>Temporarily disable
SDR page objects</code>
</dd></summary>
<hr>
tests/ui-testing/pages/page-manager.js
<ul><li>Comment out SDR-related imports<br> <li> Comment out SDR page
object initializations</ul>
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/8730/files#diff-565eab8b3c767ae50c9d05e591621d14f66b81af84d6b5ea6efe136c1c3933df">+8/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___