Files
openobserve/.github
Shrinath RaoandShyam Panjiyar 1aaffd0585 test: Updated Alerts Module Test Cases and added a couple tests (#7151)
### **PR Type**
Tests, Enhancement


___

### **Description**
Add AlertDestinationsPage, AlertTemplatesPage, AlertsNewPage
New E2E tests for template, destination, alerts
Skip outdated organization tests in usersOrg.spec.js

Test Cases added and covered in this - 

![image](https://github.com/user-attachments/assets/d1325796-4e4d-4bf7-9d12-210f49a14eaa)



___



### **Changes walkthrough** 📝
<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>alertDestinationsPage.js</strong><dd><code>Add
AlertDestinationsPage page object</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/pages/alertDestinationsPage.js

<li>Create AlertDestinationsPage class<br> <li> Add navigation and
creation locators<br> <li> Implement createDestination with assertions


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-3c9cc3c2853f55de304cb4ba26f9841e720774435f5ed890b40cd085d2aef108">+49/-0</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>alertTemplatesPage.js</strong><dd><code>Add
AlertTemplatesPage page object</code>&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>

tests/ui-testing/pages/alertTemplatesPage.js

<li>Create AlertTemplatesPage class<br> <li> Define create, edit,
search, delete methods<br> <li> Add assertion checks for template
operations


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-85075c8512133f05cc1a149872574c9e498613329c17e36521a0dfbff1d83e2e">+97/-0</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>alertsNew.js</strong><dd><code>Add AlertsNewPage page
object</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; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

tests/ui-testing/pages/alertsNew.js

<li>Create AlertsNewPage class<br> <li> Implement folder and alert
management methods<br> <li> Add stream selection and clone operations


</details>


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

</tr>
</table></td></tr><tr><td><strong>Tests</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>alertsNew.spec.js</strong><dd><code>Add alerts module
E2E test suite</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>

tests/ui-testing/playwright-tests/alertsNew.spec.js

<li>Add tests for template and destination creation<br> <li> Add folder
and alert lifecycle test suite<br> <li> Setup API log ingestion in
beforeEach hook


</details>


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

</tr>

<tr>
  <td>
    <details>
<summary><strong>usersOrg.spec.js</strong><dd><code>Skip outdated
organization tests</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>

tests/ui-testing/playwright-tests/usersOrg.spec.js

<li>Convert organization tests to test.skip<br> <li> Disable Add Org and
related scenarios


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7151/files#diff-01a0201901f4022cf6708a20432f8a70bc20ac5ccdb9943fd5a6b41eaf0e550b">+4/-4</a>&nbsp;
&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>

---------

Co-authored-by: Shyam Panjiyar <shyam@openobserve.ai>
2025-06-16 11:26:36 +05:30
..