mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-03 16:10:21 +00:00
### **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 -  ___ ### **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> </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> </td> </tr> <tr> <td> <details> <summary><strong>alertTemplatesPage.js</strong><dd><code>Add AlertTemplatesPage page object</code> </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> </td> </tr> <tr> <td> <details> <summary><strong>alertsNew.js</strong><dd><code>Add AlertsNewPage page object</code> </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> </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> </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> </td> </tr> <tr> <td> <details> <summary><strong>usersOrg.spec.js</strong><dd><code>Skip outdated organization tests</code> </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> </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>