Files
openobserve/.github
Neha PandClaude d729d9cfbe test: e2e testcase for bug #9754 (#10365)
### **PR Type**
Tests, Enhancement


___

### **Description**
- Add Playwright regression coverage for bug #9754

- Ingest edge-case logs with unclosed delimiters

- Assert table, highlighting, and detail sidebar

- Extend LogsPage with helper accessors


___

### Diagram Walkthrough


```mermaid
flowchart LR
  A["Playwright regression spec: bug #9754"] 
  B["Ingest edge-case log messages"] 
  C["Logs UI assertions (table/search/highlighting)"] 
  D["Log detail sidebar JSON assertions"] 
  E["LogsPage page-object helpers"] 
  F["Stream cleanup via API"]
  A -- "sends test data" --> B
  A -- "verifies rendering" --> C
  A -- "verifies sidebar content" --> D
  A -- "uses helper methods" --> E
  A -- "deletes test stream" --> F
```



<details> <summary><h3> File Walkthrough</h3></summary>

<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>logsPage.js</strong><dd><code>Add helpers for log
detail and highlights</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

tests/ui-testing/pages/logsPages/logsPage.js

<ul><li>Add <code>getLogDetailJsonContentText()</code> for JSON detail
text<br> <li> Add <code>getHighlightedElementsCount()</code> to count
<code>.log-highlighted</code><br> <li> Log helper actions via
<code>testLogger</code></ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10365/files#diff-8045b343491d8943869c1af74cdafab204dc49c02a70294417e73f47d35e0b59">+20/-0</a>&nbsp;
&nbsp; </td>

</tr>
</table></td></tr><tr><td><strong>Tests</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>logs-9754.spec.js</strong><dd><code>Add regression
suite for logs highlighting bug</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

tests/ui-testing/playwright-tests/RegressionSet/logs-9754.spec.js

<ul><li>Add serial Playwright suite targeting bug #9754<br> <li> Ingest
logs with unclosed brackets/quotes/ANSI sequences<br> <li> Assert no
character loss in table and highlighting<br> <li> Validate log detail
sidebar JSON and cleanup stream</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10365/files#diff-169784bd6a86705694f5cdda656a31e6ff390cf1f76cfb9aec8ff4a652ae5f31">+403/-0</a>&nbsp;
</td>

</tr>
</table></td></tr></tr></tbody></table>

</details>

___

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-04 17:31:04 +05:30
..