Skip to content

[DXUI Feature]: Improve stencil-lit-migrationV2 agent for visual regression migration, TypeScript compatibility, and spec file logic #6660

@y-lakhdar

Description

@y-lakhdar

Feature Description

Update the stencil-lit-migrationV2 agent to:

  • Properly handle migration steps for visual regression, including snapshot generation at all phases
  • Improve page-object file generation to ensure TypeScript compatibility and minimize manual fixes
  • Prevent unnecessary dummy timeouts in spec files by implementing correct test synchronization
    This automation will reduce manual intervention and test maintenance, improving the overall migration process for UI components.

User Story

As a DXUI developer migrating Stencil components
I want the migration agent to automate visual regression setup, TypeScript page-object generation, and robust spec file logic
So that migrations require less manual fixing, and automated testing is reliable and efficient.

Implementation Notes

• The agent should validate TypeScript output for generated page-object files to ensure type correctness before commit.
• Replace dummy timeouts in specs with actual synchronization for UI rendering (e.g., wait for DOM events, stable snapshot timing).
• Automatically set up visual regression snapshots at phase 0 and subsequent migration steps with minimal manual edits.
• Reference commits: 08883fd, cfc94ad
• Branch: copilot/migrate-atomic-rating-facet
• Target component: atomic-rating-facet

Jira Ticket

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions