@sun-asterisk/sungen 2.3.0 → 2.4.0

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 (90) hide show
  1. package/README.md +12 -13
  2. package/dist/cli/index.js +1 -1
  3. package/dist/generators/test-generator/adapters/playwright/templates/steps/actions/table-action-in-row.hbs +1 -1
  4. package/dist/generators/test-generator/adapters/playwright/templates/steps/assertions/table-column-exists.hbs +5 -1
  5. package/dist/generators/test-generator/adapters/playwright/templates/steps/assertions/table-row-exists.hbs +7 -1
  6. package/dist/generators/test-generator/adapters/playwright/templates/steps/assertions/table-row-not-exists.hbs +5 -1
  7. package/dist/generators/test-generator/patterns/interaction-patterns.d.ts.map +1 -1
  8. package/dist/generators/test-generator/patterns/interaction-patterns.js +0 -13
  9. package/dist/generators/test-generator/patterns/interaction-patterns.js.map +1 -1
  10. package/dist/generators/test-generator/patterns/table-patterns.d.ts +9 -0
  11. package/dist/generators/test-generator/patterns/table-patterns.d.ts.map +1 -1
  12. package/dist/generators/test-generator/patterns/table-patterns.js +94 -98
  13. package/dist/generators/test-generator/patterns/table-patterns.js.map +1 -1
  14. package/dist/generators/test-generator/patterns/types.d.ts +2 -0
  15. package/dist/generators/test-generator/patterns/types.d.ts.map +1 -1
  16. package/dist/generators/test-generator/step-mapper.d.ts +13 -0
  17. package/dist/generators/test-generator/step-mapper.d.ts.map +1 -1
  18. package/dist/generators/test-generator/step-mapper.js +80 -0
  19. package/dist/generators/test-generator/step-mapper.js.map +1 -1
  20. package/dist/orchestrator/ai-rules-updater.d.ts.map +1 -1
  21. package/dist/orchestrator/ai-rules-updater.js +8 -4
  22. package/dist/orchestrator/ai-rules-updater.js.map +1 -1
  23. package/dist/orchestrator/project-initializer.d.ts.map +1 -1
  24. package/dist/orchestrator/project-initializer.js +33 -2
  25. package/dist/orchestrator/project-initializer.js.map +1 -1
  26. package/dist/orchestrator/screen-manager.js +1 -1
  27. package/dist/orchestrator/screen-manager.js.map +1 -1
  28. package/dist/orchestrator/templates/ai-instructions/claude-cmd-add-screen.md +5 -5
  29. package/{src/orchestrator/templates/ai-instructions/claude-cmd-make-tc.md → dist/orchestrator/templates/ai-instructions/claude-cmd-create-test.md} +7 -6
  30. package/dist/orchestrator/templates/ai-instructions/claude-cmd-review.md +21 -0
  31. package/{src/orchestrator/templates/ai-instructions/claude-cmd-make-test.md → dist/orchestrator/templates/ai-instructions/claude-cmd-run-test.md} +2 -2
  32. package/dist/orchestrator/templates/ai-instructions/claude-config.md +65 -12
  33. package/dist/orchestrator/templates/ai-instructions/claude-skill-error-mapping.md +128 -52
  34. package/dist/orchestrator/templates/ai-instructions/claude-skill-gherkin-syntax.md +12 -43
  35. package/dist/orchestrator/templates/ai-instructions/claude-skill-selector-fix.md +67 -239
  36. package/dist/orchestrator/templates/ai-instructions/claude-skill-tc-generation.md +40 -240
  37. package/dist/orchestrator/templates/ai-instructions/claude-skill-tc-review.md +104 -0
  38. package/dist/orchestrator/templates/ai-instructions/claude-skill-viewpoint.md +186 -0
  39. package/dist/orchestrator/templates/ai-instructions/copilot-cmd-add-screen.md +4 -4
  40. package/dist/orchestrator/templates/ai-instructions/{copilot-cmd-make-tc.md → copilot-cmd-create-test.md} +8 -7
  41. package/dist/orchestrator/templates/ai-instructions/copilot-cmd-review.md +24 -0
  42. package/{src/orchestrator/templates/ai-instructions/copilot-cmd-make-test.md → dist/orchestrator/templates/ai-instructions/copilot-cmd-run-test.md} +3 -3
  43. package/dist/orchestrator/templates/ai-instructions/copilot-config.md +66 -13
  44. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-error-mapping.md +128 -52
  45. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-gherkin-syntax.md +12 -43
  46. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-selector-fix.md +67 -214
  47. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-tc-generation.md +40 -240
  48. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-tc-review.md +104 -0
  49. package/dist/orchestrator/templates/ai-instructions/github-skill-sungen-viewpoint.md +186 -0
  50. package/dist/orchestrator/templates/readme.md +4 -4
  51. package/package.json +1 -1
  52. package/src/cli/index.ts +1 -1
  53. package/src/generators/test-generator/adapters/playwright/templates/steps/actions/table-action-in-row.hbs +1 -1
  54. package/src/generators/test-generator/adapters/playwright/templates/steps/assertions/table-column-exists.hbs +5 -1
  55. package/src/generators/test-generator/adapters/playwright/templates/steps/assertions/table-row-exists.hbs +7 -1
  56. package/src/generators/test-generator/adapters/playwright/templates/steps/assertions/table-row-not-exists.hbs +5 -1
  57. package/src/generators/test-generator/patterns/interaction-patterns.ts +0 -14
  58. package/src/generators/test-generator/patterns/table-patterns.ts +98 -111
  59. package/src/generators/test-generator/patterns/types.ts +2 -0
  60. package/src/generators/test-generator/step-mapper.ts +87 -1
  61. package/src/orchestrator/ai-rules-updater.ts +8 -4
  62. package/src/orchestrator/project-initializer.ts +38 -2
  63. package/src/orchestrator/screen-manager.ts +1 -1
  64. package/src/orchestrator/templates/ai-instructions/claude-cmd-add-screen.md +5 -5
  65. package/{dist/orchestrator/templates/ai-instructions/claude-cmd-make-tc.md → src/orchestrator/templates/ai-instructions/claude-cmd-create-test.md} +7 -6
  66. package/src/orchestrator/templates/ai-instructions/claude-cmd-review.md +21 -0
  67. package/{dist/orchestrator/templates/ai-instructions/claude-cmd-make-test.md → src/orchestrator/templates/ai-instructions/claude-cmd-run-test.md} +2 -2
  68. package/src/orchestrator/templates/ai-instructions/claude-config.md +65 -12
  69. package/src/orchestrator/templates/ai-instructions/claude-skill-error-mapping.md +128 -52
  70. package/src/orchestrator/templates/ai-instructions/claude-skill-gherkin-syntax.md +12 -43
  71. package/src/orchestrator/templates/ai-instructions/claude-skill-selector-fix.md +67 -239
  72. package/src/orchestrator/templates/ai-instructions/claude-skill-tc-generation.md +40 -240
  73. package/src/orchestrator/templates/ai-instructions/claude-skill-tc-review.md +104 -0
  74. package/src/orchestrator/templates/ai-instructions/claude-skill-viewpoint.md +186 -0
  75. package/src/orchestrator/templates/ai-instructions/copilot-cmd-add-screen.md +4 -4
  76. package/src/orchestrator/templates/ai-instructions/{copilot-cmd-make-tc.md → copilot-cmd-create-test.md} +8 -7
  77. package/src/orchestrator/templates/ai-instructions/copilot-cmd-review.md +24 -0
  78. package/{dist/orchestrator/templates/ai-instructions/copilot-cmd-make-test.md → src/orchestrator/templates/ai-instructions/copilot-cmd-run-test.md} +3 -3
  79. package/src/orchestrator/templates/ai-instructions/copilot-config.md +66 -13
  80. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-error-mapping.md +128 -52
  81. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-gherkin-syntax.md +12 -43
  82. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-selector-fix.md +67 -214
  83. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-tc-generation.md +40 -240
  84. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-tc-review.md +104 -0
  85. package/src/orchestrator/templates/ai-instructions/github-skill-sungen-viewpoint.md +186 -0
  86. package/src/orchestrator/templates/readme.md +4 -4
  87. package/dist/generators/test-generator/adapters/playwright/templates/steps/assertions/table-cell-by-filter.hbs +0 -2
  88. package/dist/generators/test-generator/adapters/playwright/templates/steps/assertions/table-cell-by-index.hbs +0 -2
  89. package/src/generators/test-generator/adapters/playwright/templates/steps/assertions/table-cell-by-filter.hbs +0 -2
  90. package/src/generators/test-generator/adapters/playwright/templates/steps/assertions/table-cell-by-index.hbs +0 -2
@@ -1,2 +0,0 @@
1
- { const tableRow = {{> locator}}.getByRole('row').filter({ hasText: '{{escapeQuotes filterValue}}' });
2
- await expect(tableRow.getByRole('cell').filter({ hasText: '{{escapeQuotes cellValue}}' })).toBeVisible(); }
@@ -1,2 +0,0 @@
1
- { const tableRow = {{> locator}}.getByRole('row').nth({{rowIndex}});
2
- await expect(tableRow.getByRole('cell').filter({ hasText: '{{escapeQuotes cellValue}}' })).toBeVisible(); }
@@ -1,2 +0,0 @@
1
- { const tableRow = {{> locator}}.getByRole('row').filter({ hasText: '{{escapeQuotes filterValue}}' });
2
- await expect(tableRow.getByRole('cell').filter({ hasText: '{{escapeQuotes cellValue}}' })).toBeVisible(); }
@@ -1,2 +0,0 @@
1
- { const tableRow = {{> locator}}.getByRole('row').nth({{rowIndex}});
2
- await expect(tableRow.getByRole('cell').filter({ hasText: '{{escapeQuotes cellValue}}' })).toBeVisible(); }