Environment profile management for the Web Testing Agent. Use this skill when creating, loading, or checking environment profile.
The profile is located at: .test/sites/{site-slug}/env.json
.test/sites/{site-slug}/env.jsonNote: The profile must conform to the Environment Profile Schema in
#file:.github/skills/test-schemas/schemas-environment.md.
{
"name": "{from-url}", "baseUrl": "{from engineer}", "tunnelUrl": null,
"healthCheck": { "url": "/", "expectedStatus": 200, "timeout": 5000 },
"knownQuirks": [],
"testData": { "resetEndpoint": null, "cleanupStrategy": "agent-tracks", "uniquePrefix": "Test" },
"browserConfig": { "viewport": { "width": 1280, "height": 720 }, "defaultTimeout": 5000, "actionTimeout": 5000, "navigationTimeout": 15000, "networkIdleTimeout": 500 },
"tags": [],
"auth": { "loginUrl": "", "credentials": {"domain": "", "source": "", "username": "", "password": ""}
}
}
Example of the template filled out:
{
"name": "default",
"baseUrl": "https://10.230.161.233",
"tunnelUrl": null,
"healthCheck": {
"url": "/portal/login",
"expectedStatus": 200,
"timeout": 10000
},
"knownQuirks": [],
"testData": {
"resetEndpoint": null,
"cleanupStrategy": "agent-tracks",
"uniquePrefix": "Test"
},
"browserConfig": {
"viewport": { "width": 1280, "height": 720 },
"defaultTimeout": 5000,
"actionTimeout": 5000,
"navigationTimeout": 15000,
"networkIdleTimeout": 500
},
"tags": ["auth-required", "self-signed-cert"],
"auth": {
"loginUrl": "/portal/login",
"credentials": {
"domain": "Main",
"source": "WinAD",
"username": "corpadmin",
"password": "IGTtest1"
}
}
}
Stored in profile. Applied by executor.
{ "id": "QUIRK-001", "description": "Equipment dropdown loads async", "workaround": "Wait 1s before interacting" }
New quirks discovered during execution → add to profile.
| Engineer says | Action |
|---|---|
| "Set up environment for {URL}" | Create profile |
| "Show environment" | List profile data |
| "Update timeout to 15s" | Modify browserConfig |
| "Add quirk: modal takes 2s" | Append to knownQuirks |