@supatest/cli 0.0.55 → 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.
Files changed (2) hide show
  1. package/dist/index.js +21 -14
  2. 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.55";
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, @manual, @key:value
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 test cases** \u2014 Use the @manual tag to mark tests that require human execution. For manual tests, write an empty shell that is skipped so it appears in the test catalog without running automatically:
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
- Playwright:
9792
- test("Verify checkout flow on mobile device", { tag: ['@id:CHECKOUT-MOBILE-001', '@manual', '@feature:checkout', '@priority:high'] }, async () => {
9793
- test.skip(true, 'Manual test \u2014 requires human execution');
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
- WebdriverIO/Other:
9797
- it("Verify checkout flow on mobile device (@id:CHECKOUT-MOBILE-001 @manual @feature:checkout @priority:high)", async () => {
9798
- pending('Manual test \u2014 requires human execution');
9799
- });
9797
+ ## Preconditions
9798
+ - ...
9799
+
9800
+ ## Steps
9801
+ 1. ...
9802
+ 2. ...
9800
9803
 
9801
- Manual tests show up in the Supatest dashboard as "Manual" and their results can be recorded through the platform UI.
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>`;
@@ -14148,7 +14155,7 @@ var init_context_builder = __esm({
14148
14155
  import { mkdir, writeFile } from "fs/promises";
14149
14156
  import { join as join12 } from "path";
14150
14157
  function getAutomateContextDir(cwd) {
14151
- return join12(cwd, ".suptest", "automate-context");
14158
+ return join12(cwd, ".supatest", "automate-context");
14152
14159
  }
14153
14160
  function getAutomateContextPath(cwd, timestamp) {
14154
14161
  return join12(getAutomateContextDir(cwd), `manual-tests-${timestamp}.md`);
@@ -14790,7 +14797,7 @@ var init_FeedbackDialog = __esm({
14790
14797
  import { mkdir as mkdir2, rm, writeFile as writeFile2 } from "fs/promises";
14791
14798
  import { join as join13 } from "path";
14792
14799
  function getFixContextDir(cwd) {
14793
- return join13(cwd, ".suptest", "fix-context");
14800
+ return join13(cwd, ".supatest", "fix-context");
14794
14801
  }
14795
14802
  function getFixContextFilename(run) {
14796
14803
  const identifier = run.readableId || run.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supatest/cli",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "description": "Supatest CLI - AI-powered task automation for CI/CD",
5
5
  "type": "module",
6
6
  "bin": {