mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 16:09:05 +00:00
### **User description** users and organizations test cases ___ ### **PR Type** Tests, Enhancement ___ ### **Description** - Introduce `UserPage` page object for IAM flows - Add interactive CRUD operations for users - Implement Playwright tests for user scenarios - errors, creation, duplicate, cancel, delete, update ___ ### **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>userPage.js</strong><dd><code>Add UserPage interactions and locators</code> </dd></summary> <hr> tests/ui-testing/pages/userPage.js <li>Introduces <code>UserPage</code> class for IAM navigation<br> <li> Adds form interaction and CRUD methods<br> <li> Defines selectors for user fields and buttons<br> <li> Includes alerts and existence verification methods </details> </td> <td><a href="https://github.com/openobserve/openobserve/pull/7104/files#diff-6436e468818bd5517200c83a5bbe6edf60da28e81f53a73b8aa9d57eaf20c2e6">+129/-0</a> </td> </tr> </table></td></tr><tr><td><strong>Tests</strong></td><td><table> <tr> <td> <details> <summary><strong>usersOrg.spec.js</strong><dd><code>Add users and org Playwright tests</code> </dd></summary> <hr> tests/ui-testing/playwright-tests/usersOrg.spec.js <li>Adds <code>Users and Organizations</code> test suite<br> <li> Covers email/role validation and error messages<br> <li> Tests user creation, duplicates, cancel flows<br> <li> Includes delete and update test scenarios </details> </td> <td><a href="https://github.com/openobserve/openobserve/pull/7104/files#diff-01a0201901f4022cf6708a20432f8a70bc20ac5ccdb9943fd5a6b41eaf0e550b">+213/-0</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: hengfei yang <hengfei.yang@gmail.com>