mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
### **PR Type**
Enhancement, Bug fix, Tests
___
### **Description**
- Fix dynamic edit/delete button selection in POM
- Add POM helper methods (save, error check, navigation)
- Enhance URL tests with per-test cleanup
- Add URL Jobs dialog schema mismatch test
___
<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>enrichmentPage.js`</strong><dd><code>POM enhancements
and button index fixes</code>
</dd></summary>
<hr>
`tests/ui-testing/pages/generalPages/enrichmentPage.js`
<ul><li>Use dynamic index to find edit/delete buttons<br> <li> Add POM
methods: clickSave, error notification, navigation<br> <li> Implement
URL Jobs dialog interactions (open, verify, close)<br> <li> Provide
deleteTableIfExists cleanup utility</ul>
</details>
</td>
<td><a href=""></a></td>
</tr>
</table></td></tr><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>enrichment-table-url.spec.js`</strong><dd><code>Test
cleanup and schema mismatch dialog test</code>
</dd></summary>
<hr>
`tests/ui-testing/playwright-tests/Functions/enrichment-table-url.spec.js`
<ul><li>Track <code>currentTableName</code> for per-test cleanup<br>
<li> Replace raw save/cancel with new POM methods<br> <li> Refactor
URL-404 handling using <code>searchTableWithRetry</code><br> <li> Add
<code>URL Jobs dialog</code> schema mismatch test</ul>
</details>
</td>
<td><a href=""></a></td>
</tr>
<tr>
<td>
<details>
<summary><strong>cleanup.spec.js`</strong><dd><code>Add schema mismatch
cleanup regex</code>
</dd></summary>
<hr>
`tests/ui-testing/playwright-tests/cleanup.spec.js`
- Extend cleanup regex to include `schema_mismatch_<uuid>` pattern
</details>
</td>
<td><a href=""></a></td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___
---------
Co-authored-by: Claude <noreply@anthropic.com>