mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
- codegen: Low-code React app with JSON-driven component system - packagerepo: Schema-driven package repository with backend/frontend - postgres: Next.js app with Drizzle ORM and PostgreSQL Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
66 lines
2.4 KiB
JSON
66 lines
2.4 KiB
JSON
{
|
|
"actions": {
|
|
"navigate": "Navigate",
|
|
"click": "Click",
|
|
"fill": "Fill",
|
|
"expect": "Expect",
|
|
"wait": "Wait",
|
|
"select": "Select",
|
|
"check": "Check",
|
|
"uncheck": "Uncheck"
|
|
},
|
|
"buttons": {
|
|
"addStep": "Add Step",
|
|
"createTest": "Create Test",
|
|
"runTest": "Run Test"
|
|
},
|
|
"defaults": {
|
|
"newTestName": "New Test"
|
|
},
|
|
"descriptions": {
|
|
"testSteps": "Define the actions for this test"
|
|
},
|
|
"emptyStates": {
|
|
"noSteps": "No steps yet. Click \"Add Step\" to create test actions.",
|
|
"noTestSelectedBody": "Create or select a test to configure",
|
|
"noTestSelectedTitle": "No test selected",
|
|
"noTests": "No tests yet. Click + to create one."
|
|
},
|
|
"fields": {
|
|
"action": "Action",
|
|
"assertion": "Assertion",
|
|
"description": "Description",
|
|
"pageUrl": "Page URL",
|
|
"selector": "Selector",
|
|
"testName": "Test Name",
|
|
"timeout": "Timeout (ms)",
|
|
"value": "Value"
|
|
},
|
|
"headers": {
|
|
"testConfiguration": "Test Configuration",
|
|
"testDetails": "Test Details",
|
|
"testSteps": "Test Steps",
|
|
"tests": "E2E Tests"
|
|
},
|
|
"labels": {
|
|
"steps": "steps",
|
|
"stepPrefix": "Step"
|
|
},
|
|
"messages": {
|
|
"generated": "Test generated successfully!",
|
|
"generating": "Generating test with AI...",
|
|
"failed": "Failed to generate test"
|
|
},
|
|
"placeholders": {
|
|
"assertion": "toBeVisible(), toHaveText('...')",
|
|
"description": "What does this test verify?",
|
|
"pageUrl": "/login",
|
|
"selector": "button, #login, [data-testid='submit']",
|
|
"value": "Text to enter"
|
|
},
|
|
"prompts": {
|
|
"describeTest": "Describe the E2E test you want to generate:",
|
|
"template": "You are a Playwright test generator. Create an E2E test based on: \"{description}\"\n\nReturn a valid JSON object with a single property \"test\":\n{\n \"test\": {\n \"id\": \"unique-id\",\n \"name\": \"Test Name\",\n \"description\": \"What this test does\",\n \"pageUrl\": \"/path\",\n \"steps\": [\n {\n \"id\": \"step-id\",\n \"action\": \"navigate\" | \"click\" | \"fill\" | \"expect\" | \"wait\" | \"select\" | \"check\" | \"uncheck\",\n \"selector\": \"css selector or text\",\n \"value\": \"value for fill/select actions\",\n \"assertion\": \"expected value for expect action\",\n \"timeout\": 5000\n }\n ]\n }\n}\n\nCreate a complete test flow with appropriate selectors and assertions."
|
|
}
|
|
}
|