Test Scaffold Nightwatch
test_scaffold_nightwatchCreate a Nightwatch test scaffold for a Drupal module by providing module and test name, plus optional test steps, to set up browser automation tests.
Instructions
Scaffold a Nightwatch test.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"module": "<module>",
"test_name": "<test_name>"
},
"name": "test_scaffold_nightwatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | ||
| test_name | Yes | ||
| test_steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||