VedantMadane opened a new pull request, #60592:
URL: https://github.com/apache/airflow/pull/60592

   ## Summary
   
   This PR adds comprehensive E2E tests for the Pools page (`/pools`) following 
the Page Object Model (POM) pattern, addressing issue #60567.
   
   ## What's Included
   
   ### PoolsPage.ts (Page Object)
   - Locators for all key UI elements (search bar, add button, pool cards, 
pagination, dialog forms)
   - Helper methods for CRUD operations (createPool, editPoolSlots, deletePool)
   - Methods for navigation, search, sorting, and pagination
   - Proper waiting utilities for loading states
   
   ### pools.spec.ts (Test Specifications)
   Test coverage includes:
   - **Pool List Display**: Verify pools page loads with default pool visible
   - **CRUD Operations**:
     - Create a new pool with name, slots, and description
     - Edit pool slots
     - Delete a pool
     - Verify default_pool cannot be deleted
   - **Search**: Filter pools by name pattern, clear search
   - **Pool Usage Display**: Verify slot information displays correctly
   - **Sorting**: Sort pools A-Z and Z-A
   - **Pagination**: Navigate through pages when many pools exist
   
   ### Acceptance Criteria Met
   - ✅ All tests follow Page Object Model (POM) pattern
   - ✅ Tests create/cleanup their own test data in `beforeAll`/`afterAll`
   - ✅ No hardcoded values - uses dynamic test data
   - ✅ Tests are designed to work across browsers
   
   Closes #60567
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to