@skyramp/mcp 0.0.64-rc.3 → 0.0.64-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -159,10 +159,10 @@ await page.waitForTimeout(1500);
|
|
|
159
159
|
\`\`\`
|
|
160
160
|
Then re-run the test. This is a common issue with SSR/SPA frameworks where the DOM is rendered but not yet interactive.
|
|
161
161
|
|
|
162
|
-
**After generation,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
**After generation, you MUST do exactly two things — nothing more, nothing less:**
|
|
163
|
+
1. **Fix chaining**: replace hardcoded IDs with dynamic response values — path params like \`id = 'id'\` → \`skyramp.get_response_value(prev_response, "id")\`, and hardcoded IDs in request bodies → dynamic values from prior responses.
|
|
164
|
+
2. **Enhance assertions**: for integration tests and contract provider tests, follow the assertion enhancement instructions returned in the tool output. Add response body assertions for every request. This step is MANDATORY — do NOT skip it even if chaining is already correct.
|
|
165
|
+
Do not make any other changes to the generated test file.
|
|
166
166
|
|
|
167
167
|
After all actions, execute ONLY the test files you created (ADD), regenerated (REGENERATE),
|
|
168
168
|
or edited (UPDATE). Do NOT execute VERIFY'd tests — they are unaffected by the diff and do not
|