@supatest/cli 0.0.56 → 0.0.57
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.
- package/dist/index.js +19 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6045,7 +6045,7 @@ var CLI_VERSION;
|
|
|
6045
6045
|
var init_version = __esm({
|
|
6046
6046
|
"src/version.ts"() {
|
|
6047
6047
|
"use strict";
|
|
6048
|
-
CLI_VERSION = "0.0.
|
|
6048
|
+
CLI_VERSION = "0.0.57";
|
|
6049
6049
|
}
|
|
6050
6050
|
});
|
|
6051
6051
|
|
|
@@ -9776,7 +9776,7 @@ Required tags for ALL tests:
|
|
|
9776
9776
|
- @priority:critical|high|medium|low \u2014 Test importance
|
|
9777
9777
|
- @test_type:smoke|e2e|regression|integration|unit \u2014 Classification
|
|
9778
9778
|
|
|
9779
|
-
Optional: @owner:email, @ticket:PROJ-123, @slow, @flaky, @
|
|
9779
|
+
Optional: @owner:email, @ticket:PROJ-123, @slow, @flaky, @key:value
|
|
9780
9780
|
|
|
9781
9781
|
**Playwright** \u2014 ALWAYS use the native tag property (even if existing tests use title-based tags):
|
|
9782
9782
|
test("User can login", { tag: ['@id:AUTH-LOGIN-001', '@feature:auth', '@priority:high', '@test_type:e2e'] }, async ({ page }) => { });
|
|
@@ -9786,19 +9786,26 @@ it("User can login (@id:AUTH-LOGIN-001 @feature:auth @priority:high @test_type:e
|
|
|
9786
9786
|
|
|
9787
9787
|
**Existing tests without @id** \u2014 When fixing or modifying a test that has no @id tag, add one. Generate the ID from the feature + a short description, e.g. @id:CHECKOUT-SUBMIT-001.
|
|
9788
9788
|
|
|
9789
|
-
**Manual
|
|
9789
|
+
**Manual tests** \u2014 When you identify a scenario that requires human execution (e.g. physical device, visual inspection, third-party flow), capture it as a manual test case rather than skipping or omitting it:
|
|
9790
9790
|
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9791
|
+
1. Draft the test as a markdown file at \`manual-tests/{feature}-{short-title}.md\` using this structure:
|
|
9792
|
+
\`\`\`markdown
|
|
9793
|
+
# {Title}
|
|
9794
|
+
**Priority**: critical|high|medium|low
|
|
9795
|
+
**Tags**: tag1, tag2
|
|
9795
9796
|
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9797
|
+
## Preconditions
|
|
9798
|
+
- ...
|
|
9799
|
+
|
|
9800
|
+
## Steps
|
|
9801
|
+
1. ...
|
|
9802
|
+
2. ...
|
|
9800
9803
|
|
|
9801
|
-
|
|
9804
|
+
## Expected Result
|
|
9805
|
+
- ...
|
|
9806
|
+
\`\`\`
|
|
9807
|
+
2. Show the draft to the user and ask for confirmation before creating it in Supatest.
|
|
9808
|
+
3. On confirmation, use the Supatest MCP \`create-manual-test\` tool to create it (pass \`title\`, \`steps\` as the markdown body, \`priority\`, \`tags\`, and \`folderId\` if relevant).
|
|
9802
9809
|
|
|
9803
9810
|
A test is not complete until it has @id plus the other required tags.
|
|
9804
9811
|
</test_tagging>`;
|