Add E2E tests for Pools page functionality#60592
Closed
VedantMadane wants to merge 2 commits intoapache:mainfrom
Closed
Add E2E tests for Pools page functionality#60592VedantMadane wants to merge 2 commits intoapache:mainfrom
VedantMadane wants to merge 2 commits intoapache:mainfrom
Conversation
Closes apache#60567 This PR adds comprehensive E2E tests for the Pools page (/pools) using the Page Object Model (POM) pattern. ## What is covered: - **Pool List Display**: Verify pools page loads with default pool - **CRUD Operations**: Create, edit slots, delete pools - **Search**: Filter pools by name pattern - **Pool Usage Display**: Verify slot information displays - **Sorting**: Sort pools by name (A-Z, Z-A) - **Pagination**: Navigate through pages when many pools exist - **Default Pool Protection**: Verify default_pool cannot be deleted ## Implementation: - PoolsPage.ts: Page Object with locators and helper methods - pools.spec.ts: Test specifications following project conventions Tests create and cleanup their own test data in beforeAll/afterAll hooks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
pools.spec.ts (Test Specifications)
Test coverage includes:
Acceptance Criteria Met
beforeAll/afterAllCloses #60567