Files
openobserve/tests
ktx-akshay b152ba877f test: table transpose validation updates (#7565)
### **PR Type**
Tests, Enhancement


___

### **Description**
- Add data validation for table transpose

- Flatten and compare transposed table data

- Capture and assert no console errors

- Consolidate import statements


___

### **Changes diagram**

```mermaid
flowchart LR
  A["Test initialization"] --> B["Setup console error listener"]
  B --> C["Capture headers & initial data"]
  C --> D["Click transpose and apply"]
  D --> E["Capture transposed data"]
  E --> F["Compare sorted data"]
```


___



### **Changes walkthrough** 📝
<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>dashboard-transpose.spec.js</strong><dd><code>Enhance
dashboard transpose test logic</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

tests/ui-testing/playwright-tests/dashboards/dashboard-transpose.spec.js

<li>Consolidated import statements into single line<br> <li> Added
helper validateTableDataBeforeAndAfterTranspose<br> <li> Introduced
console error listener assertion<br> <li> Added waits to stabilize
asynchronous operations


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7565/files#diff-da631007cea76a4bc59e4acd1195b59ae4131cd5208d21a9c1f94d3913911dc4">+78/-4</a>&nbsp;
&nbsp; </td>

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

___

> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
2025-07-15 14:27:01 +05:30
..
2024-09-22 17:57:47 +08:00