소개
This skill streamlines the process of selecting stable elements for end-to-end testing by enforcing a standardized resolution logic for UI components. It systematically evaluates components for existing playwrightId or data-testid attributes, falling back to visible text content or automatically generating new IDs when necessary. By ensuring that tests consistently reference the [data-testid] attribute regardless of the source property, it helps developers maintain robust, reliable, and uniform test suites within the Playwright framework while reducing the manual effort of selector management.