Files
openobserve/.github/workflows
c792ce78d7 test: Add E2E tests for enrichment table URL feature (#10057)
### **User description**
- Add enrichment-table-url.spec.js with 7 test
- Add 18 page object methods to enrichmentPage.js for URL-based tables
- Add cleanup patterns for URL-based enrichment table tests
- Add enrichment-table-url.spec.js to playwright.yml CI workflow

Test Coverage:
- P0: Create table from URL, URL validation, table visibility
- P1: Update modes (reload/append/replace), cancel, search, delete
- P2: Source toggle, nonexistent URL, data exploration



___

### **PR Type**
Enhancement, Tests


___

### **Description**
- Add URL-based enrichment table POM methods

- Implement E2E tests for URL feature

- Extend cleanup patterns for URL tables

- Integrate tests into CI workflow


___

### Diagram Walkthrough


```mermaid
flowchart LR
  POM["URL-based POM methods"] --> Tests["E2E URL enrichment tests"]
  Tests --> Cleanup["Extend cleanup patterns"]
  Tests --> CI["Update CI workflow"]
```



<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>Add URL-based
enrichment POM methods</code>&nbsp; &nbsp; &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/pages/generalPages/enrichmentPage.js

<ul><li>Add URL-based locators for enrichment tables<br> <li> Implement
methods for URL workflows (select, fill, create)<br> <li> Add job status
polling and verification functions<br> <li> Provide helper methods for
update mode and toggles</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10057/files#diff-98a7e60352ddf3be23cf70170559e637ef448c189cd9414448e9afff897c3019">+444/-0</a>&nbsp;
</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>Implement
URL enrichment feature tests</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/Functions/enrichment-table-url.spec.js

<ul><li>Add E2E tests covering URL enrichment feature<br> <li> Include
P0, P1, P2 test suites<br> <li> Skip long-running tests due to
timeout<br> <li> Utilize fixtures and logging in tests</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10057/files#diff-faa0d1fc147a442b9738f5287bb60e22ddf44bae8568f7aeb6cfba0a267d138b">+381/-0</a>&nbsp;
</td>

</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>cleanup.spec.js</strong><dd><code>Extend cleanup
patterns for URL tests</code>&nbsp; &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/cleanup.spec.js

<ul><li>Extend cleanup patterns for URL test tables<br> <li> Add regex
for URL-based test table names<br> <li> Retain existing enrichment and
stream cleanup logic</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10057/files#diff-c214275a512fa285a7e4f2ab61dfcb42d71a0436b0e4241f94d7b45693587983">+14/-1</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>playwright.yml</strong><dd><code>Include URL tests in
CI workflow</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/playwright.yml

<ul><li>Add enrichment-table-url.spec.js to CI run list<br> <li> Ensure
URL tests run in Chrome suite</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10057/files#diff-7afcd2d8f7b49bda74843f209eefb7b2da45f7e7803bf2e4bd636699b76aa2d3">+1/-0</a>&nbsp;
&nbsp; &nbsp; </td>

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

</details>

___

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Shrinath Rao <shnath@openobserve.ai>
2026-01-17 09:24:21 +05:30
..