Skip to content

Conversation

@Vaishnavitiwari10
Copy link
Collaborator

This PR introduces the Script Generator module, which transforms recorded user interactions into executable Playwright test scripts. It builds on the event schema defined in feature/recorder and prepares the foundation for automated test execution in feature/playwright-integration.

Key Features:

Schema Definition

  • Supports click and input event types
  • Unified RecordedEvent and Recording types for consistent handling

Spec Generator

  • Converts a list of recorded events into a valid Playwright test
  • Includes goto, click, and fill steps
  • Outputs a complete .spec.ts string compatible with @playwright/test

Documentation

  • README.md explains input format, output structure, and usage

Dependencies

-Depends on: feature/recorder (for event format)
-Enables: feature/playwright-integration (for test execution)


Next Steps:

  • Integrate with recorder to auto-generate specs
  • Save generated specs to playwright/generated/
  • Trigger test execution via CI

@Vaishnavitiwari10 Vaishnavitiwari10 self-assigned this Nov 20, 2025
@Vaishnavitiwari10 Vaishnavitiwari10 added Critical Action items and issues with critical resolution required. progress For tracking issues which are related to the progress and removed Critical Action items and issues with critical resolution required. labels Nov 20, 2025
@Vaishnavitiwari10
Copy link
Collaborator Author

@Anshra-dev , @dakshita-singh , @Vaibosnikov

Script generator evidence -1 Script generator-2

Attached is the evidence of script Generator module, which transforms recorded user interactions into executable Playwright test scripts.

@Vaishnavitiwari10 Vaishnavitiwari10 changed the base branch from main to dev November 28, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

progress For tracking issues which are related to the progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants