fix(tests): correct Playwright locator for Script DNS provider field
The E2E test "should show script path field when Script type is selected" was failing because the locator didn't match the actual UI field. Update locator from /create/i to /script path/i Update placeholder matcher from /create-dns/i to /dns-challenge.sh/i Matches actual ScriptProvider field: label="Script Path", placeholder="/scripts/dns-challenge.sh" Also includes skill infrastructure for Playwright (separate feature): Add test-e2e-playwright.SKILL.md for non-interactive test execution Add run.sh script with argument parsing and report URL output Add VS Code tasks for skill execution and report viewing
This commit is contained in:
25
.vscode/tasks.json
vendored
25
.vscode/tasks.json
vendored
@@ -391,6 +391,31 @@
|
||||
"command": "echo '✅ Supply chain audit complete'",
|
||||
"group": "test",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Test: E2E Playwright (Skill)",
|
||||
"type": "shell",
|
||||
"command": ".github/skills/scripts/skill-runner.sh test-e2e-playwright",
|
||||
"group": "test",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "dedicated",
|
||||
"close": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Test: E2E Playwright - View Report",
|
||||
"type": "shell",
|
||||
"command": "npx playwright show-report --port 9323",
|
||||
"group": "none",
|
||||
"problemMatcher": [],
|
||||
"isBackground": true,
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "dedicated",
|
||||
"close": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
|
||||
Reference in New Issue
Block a user