Skip to content

Conversation

@BChoudhury-ms
Copy link
Collaborator

@BChoudhury-ms BChoudhury-ms commented Dec 23, 2025

Preview this branch

This PR adds extensive test data attributes (data-test IDs) to key UI components and creates comprehensive end-to-end tests for the partition key change functionality

Changes:

  • Enhanced Test Infrastructure: Added getDropdownItemByName helper method to the DataExplorer test framework for better dropdown interaction handling
  • Improved Component Testability: Added data-test attributes to critical UI elements in PartitionKeyComponent and ChangePartitionKeyPane components
  • Comprehensive E2E Tests: Created new test suite changePartitionKey.spec.ts covering:
    • Complete partition key change workflow (new container creation)
    • Hierarchical partition key configuration
    • Existing container selection for partition key changes
    • Job progress monitoring and cancellation
  • Test Data Enhancements: Updated createTestSQLContainer function with flexible configuration options for partition keys and database naming

@BChoudhury-ms BChoudhury-ms requested a review from a team as a code owner December 23, 2025 21:32
@BChoudhury-ms BChoudhury-ms merged commit be89c63 into master Dec 29, 2025
92 of 129 checks passed
@BChoudhury-ms BChoudhury-ms deleted the user/bchoudhury/cpk-fts branch December 29, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants