1 UploadWorkspace Ingested
Tosca to Playwright Migration Studio
Ingest legacy Tosca automations, identify intent, and generate Playwright TypeScript tests.
2 ParseTosca Parsed
3 AnalyzeIntent Extracted
4 GenerateCode Generated
5
5 ReviewIn Review
6
6 RunExecute Tests
7
7 ExportMigration Package
Uploaded Artifacts0
0 B stored
Parsed0
0% parser success
Needs Review0
0% awaiting parser review
Failed0
0% rejected by parser
Upload Workspace
Uploaded Files (0)
Loading artifacts...
Total Size: 0 B
AI Intent Analysis
Requirement Summary
Placeholder until Phase 2 connects AI analysis to parsed artifact output.
User Story
Parsed artifacts are now available through the migration_artifacts persistence layer for AI consumption.
Gherkin Scenario
Scenario: AI intent analysis from parsed artifacts Given migration artifacts have been uploaded When Phase 2 sends extracted_json to the AI analyzer Then the studio will produce requirement summaries And generate user stories and Gherkin scenarios
Key Steps Identified
NavigateInputClickVerify TextVerify Element
Tosca to Playwright Mapping
| Tosca Action | Description | Playwright Mapping |
|---|---|---|
| Open Url | Navigate to url | await page.goto(url) |
| Click | Click on element | locator.click() |
| Input | Enter text | locator.fill(text) |
| Verify Text | Verify text present | expect(locator).toContainText() |
| Verify Element | Verify element exists | await expect(locator).toBeVisible() |
| Select | Select from dropdown | locator.selectOption(value) |
| Wait | Wait for element | await locator.waitFor() |
Generated Playwright TypeScript
import { test, expect } from '@playwright/test';
test.describe('Migrated Tosca login suite', () => {
test('successful user login', async ({ page }) => {
await page.goto(process.env.QAPLANET_BASE_URL!);
await page.getByLabel('Username').fill(process.env.QAPLANET_TEST_USER!);
await page.getByLabel('Password').fill(process.env.QAPLANET_TEST_PASSWORD!);
await page.getByRole('button', { name: 'Sign in' }).click();
await expect(page.getByTestId('dashboard')).toBeVisible();
await expect(page.getByText('Welcome')).toBeVisible();
});
});Review & Confidence
86%Confidence Score
Review Checklist3 Items
Locator username not validatedConsider adding locator validation
MediumDynamic data detected in 2 stepsReview data handling logic
MediumVerify text may be too genericConsider using more specific assertion
LowOverall mapping confidence is highNo action required
InfoExecution Results
Total Executions192
Passed155
Failed27
Skipped10
Pass Rate81.3%
| Test Case | Status | Duration |
|---|---|---|
| Successful user login | Passed | 2.3s |
| Invalid password login | Failed | 2.1s |
| Locked out user login | Passed | 2.6s |
| Remember me function | Passed | 1.8s |
Export Migration Package
Package assembly remains staged until generated tests, mappings, and execution results are produced.
- Generated Playwright TypeScript files
- Test data and configuration
- Mapping and analysis reports
- Execution results and evidence
- Review notes and checklist
Migration PackageWaiting for Phase 2 output