@orion-qa/orion 3.0.0 → 3.1.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 (578) hide show
  1. package/.claude/agents/codebase-analyst.md +1 -1
  2. package/.claude/settings.json +9 -0
  3. package/.claude/skills/appium/SKILL.md +1 -1
  4. package/.claude/skills/appium/templates/README.md +6 -9
  5. package/.claude/skills/appium/templates/ci/github-actions-android.yml +8 -2
  6. package/.claude/skills/appium/templates/ci/github-actions-ios.yml +8 -2
  7. package/.claude/skills/appium/templates/ci/github-actions-windows.yml +9 -2
  8. package/.claude/skills/appium/templates/project-java/.env.example +4 -0
  9. package/.claude/skills/appium/templates/project-java/pom.xml +2 -0
  10. package/.claude/skills/appium/templates/project-java/src/test/java/automation/{framework/Config.java → config/Env.java} +43 -52
  11. package/.claude/skills/appium/templates/project-java/src/test/java/automation/config/Flags.java +45 -0
  12. package/.claude/skills/appium/templates/project-java/src/test/java/automation/config/Paths.java +14 -0
  13. package/.claude/skills/appium/templates/project-java/src/test/java/automation/desc/SignInDesc.java +30 -0
  14. package/.claude/skills/appium/templates/project-java/src/test/java/automation/{framework → driver}/DriverFactory.java +19 -13
  15. package/.claude/skills/appium/templates/project-java/src/test/java/automation/{framework → driver}/DriverManager.java +12 -9
  16. package/.claude/skills/appium/templates/project-java/src/test/java/automation/fixtures/BaseTest.java +75 -0
  17. package/.claude/skills/appium/templates/project-java/src/test/java/automation/{screens → pageObjects}/BaseScreen.java +12 -12
  18. package/.claude/skills/appium/templates/project-java/src/test/java/automation/pageObjects/HomeScreen.java +26 -0
  19. package/.claude/skills/appium/templates/project-java/src/test/java/automation/pageObjects/LoginScreen.java +63 -0
  20. package/.claude/skills/appium/templates/project-java/src/test/java/automation/pageObjects/ShellScreen.java +26 -0
  21. package/.claude/skills/appium/templates/project-java/src/test/java/automation/setup/AuthSetup.java +49 -0
  22. package/.claude/skills/appium/templates/project-java/src/test/java/automation/testData/TestData.java +78 -0
  23. package/.claude/skills/appium/templates/project-java/src/test/java/automation/tests/ui/SignInTest.java +45 -0
  24. package/.claude/skills/appium/templates/project-java/src/test/java/automation/tests/unit/UtilsTest.java +34 -0
  25. package/.claude/skills/appium/templates/project-java/src/test/java/automation/{framework → utils}/AutomationError.java +4 -4
  26. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/Case.java +20 -0
  27. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/CaseTransformer.java +54 -0
  28. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/Dates.java +42 -0
  29. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/Log.java +45 -0
  30. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/MissingSettingError.java +13 -0
  31. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/RandomData.java +41 -0
  32. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/Redact.java +33 -0
  33. package/.claude/skills/appium/templates/project-java/src/test/java/automation/utils/TestDescription.java +25 -0
  34. package/.claude/skills/appium/templates/project-java/src/test/resources/testData/testData.properties +7 -0
  35. package/.claude/skills/appium/templates/project-java/testng.xml +11 -4
  36. package/.claude/skills/architecture-analysis/SKILL.md +2 -1
  37. package/.claude/skills/automation-implementation/SKILL.md +2 -1
  38. package/.claude/skills/automation-implementation/references/patterns.md +46 -24
  39. package/.claude/skills/code-review/SKILL.md +3 -2
  40. package/.claude/skills/code-review/references/pattern-rules.md +12 -7
  41. package/.claude/skills/documentation/SKILL.md +23 -18
  42. package/.claude/skills/execution/SKILL.md +6 -3
  43. package/.claude/skills/httpclient/templates/README.md +6 -7
  44. package/.claude/skills/httpclient/templates/csharp-nunit/.env.example +4 -0
  45. package/.claude/skills/httpclient/templates/csharp-nunit/Automation.csproj +7 -3
  46. package/.claude/skills/httpclient/templates/csharp-nunit/Config/Env.cs +62 -0
  47. package/.claude/skills/httpclient/templates/csharp-nunit/Config/Flags.cs +35 -0
  48. package/.claude/skills/httpclient/templates/csharp-nunit/Config/Paths.cs +22 -0
  49. package/.claude/skills/httpclient/templates/csharp-nunit/Fixtures/BaseTest.cs +22 -0
  50. package/.claude/skills/httpclient/templates/csharp-nunit/Resources/Desc/ProductsDesc.cs +22 -0
  51. package/.claude/skills/httpclient/templates/csharp-nunit/Resources/TestData/TestData.cs +61 -0
  52. package/.claude/skills/httpclient/templates/csharp-nunit/Resources/TestData/testData.json +9 -0
  53. package/.claude/skills/httpclient/templates/csharp-nunit/Services/ApiClient.cs +48 -0
  54. package/.claude/skills/httpclient/templates/csharp-nunit/Services/HealthApi.cs +11 -0
  55. package/.claude/skills/httpclient/templates/csharp-nunit/{Api → Services}/ProductsApi.cs +8 -5
  56. package/.claude/skills/httpclient/templates/csharp-nunit/Tests/Api/ProductsTests.cs +61 -0
  57. package/.claude/skills/httpclient/templates/csharp-nunit/Tests/Unit/UtilsTests.cs +40 -0
  58. package/.claude/skills/httpclient/templates/csharp-nunit/Utils/AutomationError.cs +15 -0
  59. package/.claude/skills/httpclient/templates/csharp-nunit/Utils/Dates.cs +18 -0
  60. package/.claude/skills/httpclient/templates/csharp-nunit/Utils/Log.cs +37 -0
  61. package/.claude/skills/httpclient/templates/csharp-nunit/Utils/RandomData.cs +26 -0
  62. package/.claude/skills/httpclient/templates/csharp-nunit/Utils/Redact.cs +22 -0
  63. package/.claude/skills/httpclient/templates/csharp-nunit/Utils/TestDescription.cs +55 -0
  64. package/.claude/skills/javascript/references/sources.md +1 -1
  65. package/.claude/skills/k6/SKILL.md +1 -1
  66. package/.claude/skills/k6/templates/README.md +5 -3
  67. package/.claude/skills/k6/templates/project/{data/cases.js → resources/desc/products.desc.js} +1 -1
  68. package/.claude/skills/k6/templates/project/resources/testData/testData.js +32 -0
  69. package/.claude/skills/k6/templates/project/{lib/config.js → src/config/env.js} +10 -5
  70. package/.claude/skills/k6/templates/project/{lib → src/services}/products-api.js +7 -5
  71. package/.claude/skills/k6/templates/project/{load → tests/load}/products.js +8 -8
  72. package/.claude/skills/karate/templates/README.md +4 -5
  73. package/.claude/skills/karate/templates/java-junit5/.env.example +2 -0
  74. package/.claude/skills/karate/templates/java-junit5/pom.xml +4 -0
  75. package/.claude/skills/karate/templates/java-junit5/src/test/java/{support → config}/EnvSettings.java +1 -1
  76. package/.claude/skills/karate/templates/java-junit5/src/test/java/karate-config.js +13 -6
  77. package/.claude/skills/karate/templates/java-junit5/src/test/java/logback-test.xml +1 -1
  78. package/.claude/skills/karate/templates/java-junit5/src/test/java/{api → tests}/ApiTest.java +7 -4
  79. package/.claude/skills/karate/templates/java-junit5/src/test/java/{api → tests/api}/health.feature +3 -3
  80. package/.claude/skills/karate/templates/java-junit5/src/test/java/tests/api/products.feature +29 -0
  81. package/.claude/skills/karate/templates/java-junit5/src/test/java/{support → utils}/MaskingLogModifier.java +1 -1
  82. package/.claude/skills/karate/templates/java-junit5/src/test/resources/testData/newProduct.js +7 -0
  83. package/.claude/skills/karate/templates/java-junit5/src/test/resources/testData/testData.json +6 -0
  84. package/.claude/skills/newman/templates/README.md +4 -5
  85. package/.claude/skills/newman/templates/collection/.env.example +2 -0
  86. package/.claude/skills/newman/templates/collection/collections/api.postman_collection.json +165 -145
  87. package/.claude/skills/newman/templates/collection/package.json +2 -1
  88. package/.claude/skills/newman/templates/collection/resources/desc/products.desc.json +53 -0
  89. package/.claude/skills/newman/templates/collection/resources/testData/testData.json +10 -0
  90. package/.claude/skills/newman/templates/collection/run.js +41 -31
  91. package/.claude/skills/newman/templates/collection/src/config/env.js +37 -0
  92. package/.claude/skills/orion/SKILL.md +9 -7
  93. package/.claude/skills/orion/references/assess-fix.md +34 -0
  94. package/.claude/skills/orion/references/capabilities.md +1 -1
  95. package/.claude/skills/orion/references/conversation.md +9 -8
  96. package/.claude/skills/orion/references/delivery-formats.md +1 -1
  97. package/.claude/skills/orion/references/modes.md +3 -1
  98. package/.claude/skills/orion/references/project-context-files.md +6 -1
  99. package/.claude/skills/orion/references/setup-card.md +12 -6
  100. package/.claude/skills/orion/references/status-lines.md +6 -2
  101. package/.claude/skills/orion/references/task-brief.md +1 -0
  102. package/.claude/skills/orion/references/work-branch.md +3 -1
  103. package/.claude/skills/orion/scripts/browser_setup.mjs +30 -15
  104. package/.claude/skills/orion/scripts/env_check.mjs +8 -3
  105. package/.claude/skills/orion/scripts/env_check.py +12 -5
  106. package/.claude/skills/orion/scripts/fix_plan.mjs +149 -0
  107. package/.claude/skills/orion/scripts/graph.mjs +400 -0
  108. package/.claude/skills/orion/scripts/lib/inside.mjs +31 -0
  109. package/.claude/skills/orion/scripts/lib/scan.mjs +357 -0
  110. package/.claude/skills/orion/scripts/parity_check.mjs +166 -0
  111. package/.claude/skills/orion/scripts/report_check.mjs +77 -0
  112. package/.claude/skills/orion/scripts/results_parse.mjs +203 -0
  113. package/.claude/skills/orion/scripts/reuse_check.mjs +251 -0
  114. package/.claude/skills/orion/scripts/run_state.mjs +171 -0
  115. package/.claude/skills/orion/scripts/suite_check.mjs +228 -0
  116. package/.claude/skills/orion/scripts/timing_profile.mjs +128 -0
  117. package/.claude/skills/orion/scripts/usage_report.mjs +315 -0
  118. package/.claude/skills/orion/templates/project-context/assessment.md +45 -0
  119. package/.claude/skills/orion/templates/project-context/defects.md +5 -0
  120. package/.claude/skills/orion/templates/project-context/report.md +45 -0
  121. package/.claude/skills/orion/templates/project-context/run.md +4 -1
  122. package/.claude/skills/orion/templates/project-context/test-case-map.md +5 -0
  123. package/.claude/skills/orion/templates/project-context/test-design.md +18 -0
  124. package/.claude/skills/pact/SKILL.md +2 -2
  125. package/.claude/skills/pact/templates/README.md +4 -2
  126. package/.claude/skills/pact/templates/project/package.json +2 -2
  127. package/.claude/skills/pact/templates/project/{data/cases.js → resources/desc/products.desc.js} +3 -3
  128. package/.claude/skills/pact/templates/project/resources/testData/testData.js +21 -0
  129. package/.claude/skills/pact/templates/project/src/config/env.js +32 -0
  130. package/.claude/skills/pact/templates/project/src/{products-client.js → services/products-client.js} +4 -2
  131. package/.claude/skills/pact/templates/project/tests/contract/products.contract.test.js +46 -0
  132. package/.claude/skills/pact/templates/project/{verify → tests/verify}/products.verify.js +7 -22
  133. package/.claude/skills/playwright/SKILL.md +6 -6
  134. package/.claude/skills/playwright/templates/README.md +29 -10
  135. package/.claude/skills/playwright/templates/ci/Jenkinsfile +1 -1
  136. package/.claude/skills/playwright/templates/ci/azure-pipelines.yml +1 -1
  137. package/.claude/skills/playwright/templates/ci/github-actions-javascript.yml +1 -1
  138. package/.claude/skills/playwright/templates/ci/github-actions.yml +1 -1
  139. package/.claude/skills/playwright/templates/ci/gitlab-ci.yml +1 -1
  140. package/.claude/skills/playwright/templates/dotnet/.env.example +7 -0
  141. package/.claude/skills/playwright/templates/dotnet/.runsettings +17 -0
  142. package/.claude/skills/playwright/templates/dotnet/Automation.csproj +8 -0
  143. package/.claude/skills/playwright/templates/dotnet/Config/Env.cs +89 -0
  144. package/.claude/skills/playwright/templates/dotnet/Config/Flags.cs +56 -0
  145. package/.claude/skills/playwright/templates/dotnet/Config/Paths.cs +31 -0
  146. package/.claude/skills/playwright/templates/dotnet/Fixtures/ApiBaseTest.cs +39 -0
  147. package/.claude/skills/playwright/templates/dotnet/Fixtures/BaseTest.cs +72 -0
  148. package/.claude/skills/playwright/templates/dotnet/PageObjects/BasePage.cs +59 -0
  149. package/.claude/skills/playwright/templates/dotnet/PageObjects/HomePage.cs +21 -0
  150. package/.claude/skills/playwright/templates/dotnet/PageObjects/LoginPage.cs +54 -0
  151. package/.claude/skills/playwright/templates/dotnet/PageObjects/ShellPage.cs +29 -0
  152. package/.claude/skills/playwright/templates/dotnet/Resources/Desc/SignInDesc.cs +23 -0
  153. package/.claude/skills/playwright/templates/dotnet/Resources/TestData/TestData.cs +74 -0
  154. package/.claude/skills/playwright/templates/dotnet/Resources/TestData/testData.json +19 -0
  155. package/.claude/skills/playwright/templates/dotnet/Services/ApiClient.cs +51 -0
  156. package/.claude/skills/playwright/templates/dotnet/Setup/AuthSetup.cs +63 -0
  157. package/.claude/skills/playwright/templates/dotnet/Tests/Api/SessionTests.cs +18 -0
  158. package/.claude/skills/playwright/templates/dotnet/Tests/Ui/SignInTests.cs +48 -0
  159. package/.claude/skills/playwright/templates/dotnet/Tests/Unit/UtilsTests.cs +40 -0
  160. package/.claude/skills/playwright/templates/dotnet/Utils/AutomationError.cs +15 -0
  161. package/.claude/skills/playwright/templates/dotnet/Utils/Dates.cs +18 -0
  162. package/.claude/skills/playwright/templates/dotnet/Utils/Log.cs +37 -0
  163. package/.claude/skills/playwright/templates/dotnet/Utils/RandomData.cs +26 -0
  164. package/.claude/skills/playwright/templates/dotnet/Utils/Redact.cs +22 -0
  165. package/.claude/skills/playwright/templates/dotnet/Utils/TestDescription.cs +55 -0
  166. package/.claude/skills/playwright/templates/dotnet/gitignore +6 -1
  167. package/.claude/skills/playwright/templates/javascript/.env.example +8 -0
  168. package/.claude/skills/playwright/templates/javascript/fixtures/index.js +83 -0
  169. package/.claude/skills/playwright/templates/javascript/fixtures/session.js +79 -0
  170. package/.claude/skills/playwright/templates/javascript/gitignore +7 -0
  171. package/.claude/skills/playwright/templates/javascript/jsconfig.json +11 -0
  172. package/.claude/skills/playwright/templates/javascript/package.json +7 -3
  173. package/.claude/skills/playwright/templates/javascript/pageObjects/basePage.js +58 -0
  174. package/.claude/skills/playwright/templates/javascript/pageObjects/homePage.js +19 -0
  175. package/.claude/skills/playwright/templates/javascript/pageObjects/loginPage.js +44 -0
  176. package/.claude/skills/playwright/templates/javascript/pageObjects/shellPage.js +26 -0
  177. package/.claude/skills/playwright/templates/javascript/playwright.config.js +42 -24
  178. package/.claude/skills/playwright/templates/javascript/reporters/summaryReporter.js +233 -0
  179. package/.claude/skills/playwright/templates/javascript/resources/desc/signIn.desc.js +33 -0
  180. package/.claude/skills/playwright/templates/javascript/resources/testData/testData.js +45 -0
  181. package/.claude/skills/playwright/templates/javascript/setup/auth.setup.js +17 -0
  182. package/.claude/skills/playwright/templates/javascript/setup/auth.teardown.js +16 -0
  183. package/.claude/skills/playwright/templates/javascript/src/config/env.js +79 -0
  184. package/.claude/skills/playwright/templates/javascript/src/config/flags.js +70 -0
  185. package/.claude/skills/playwright/templates/javascript/src/config/loadEnv.js +21 -0
  186. package/.claude/skills/playwright/templates/javascript/src/config/paths.js +22 -0
  187. package/.claude/skills/playwright/templates/javascript/src/services/apiClient.js +68 -0
  188. package/.claude/skills/playwright/templates/javascript/tests/api/session.spec.js +15 -0
  189. package/.claude/skills/playwright/templates/javascript/tests/ui/signIn.spec.js +35 -0
  190. package/.claude/skills/playwright/templates/javascript/tests/unit/summaryReporter.test.js +34 -0
  191. package/.claude/skills/playwright/templates/javascript/tests/unit/utils.test.js +31 -0
  192. package/.claude/skills/playwright/templates/javascript/utils/date.js +28 -0
  193. package/.claude/skills/playwright/templates/javascript/{src → utils}/errors.js +1 -0
  194. package/.claude/skills/playwright/templates/javascript/utils/formFill.js +29 -0
  195. package/.claude/skills/playwright/templates/javascript/utils/logger.js +33 -0
  196. package/.claude/skills/playwright/templates/javascript/utils/random.js +37 -0
  197. package/.claude/skills/playwright/templates/javascript/utils/redact.js +35 -0
  198. package/.claude/skills/playwright/templates/javascript/utils/titles.js +38 -0
  199. package/.claude/skills/playwright/templates/project/.env.example +8 -0
  200. package/.claude/skills/playwright/templates/project/fixtures/index.ts +84 -0
  201. package/.claude/skills/playwright/templates/project/fixtures/session.ts +76 -0
  202. package/.claude/skills/playwright/templates/project/gitignore +9 -2
  203. package/.claude/skills/playwright/templates/project/package.json +8 -6
  204. package/.claude/skills/playwright/templates/project/pageObjects/basePage.ts +53 -0
  205. package/.claude/skills/playwright/templates/project/pageObjects/homePage.ts +20 -0
  206. package/.claude/skills/playwright/templates/project/pageObjects/loginPage.ts +47 -0
  207. package/.claude/skills/playwright/templates/project/pageObjects/shellPage.ts +22 -0
  208. package/.claude/skills/playwright/templates/project/playwright.config.ts +46 -23
  209. package/.claude/skills/playwright/templates/project/reporters/summaryReporter.ts +241 -0
  210. package/.claude/skills/playwright/templates/project/resources/desc/signIn.desc.ts +32 -0
  211. package/.claude/skills/playwright/templates/project/resources/testData/testData.ts +42 -0
  212. package/.claude/skills/playwright/templates/project/setup/auth.setup.ts +16 -0
  213. package/.claude/skills/playwright/templates/project/setup/auth.teardown.ts +15 -0
  214. package/.claude/skills/playwright/templates/project/src/config/env.ts +81 -0
  215. package/.claude/skills/playwright/templates/project/src/config/flags.ts +70 -0
  216. package/.claude/skills/playwright/templates/project/src/config/loadEnv.ts +17 -0
  217. package/.claude/skills/playwright/templates/project/src/config/paths.ts +19 -0
  218. package/.claude/skills/playwright/templates/project/src/services/apiClient.ts +70 -0
  219. package/.claude/skills/playwright/templates/project/tests/api/session.spec.ts +14 -0
  220. package/.claude/skills/playwright/templates/project/tests/ui/signIn.spec.ts +34 -0
  221. package/.claude/skills/playwright/templates/project/tests/unit/summaryReporter.test.ts +33 -0
  222. package/.claude/skills/playwright/templates/project/tests/unit/utils.test.ts +30 -0
  223. package/.claude/skills/playwright/templates/project/tsconfig.json +3 -8
  224. package/.claude/skills/playwright/templates/project/utils/date.ts +25 -0
  225. package/.claude/skills/playwright/templates/project/utils/formFill.ts +27 -0
  226. package/.claude/skills/playwright/templates/project/utils/logger.ts +32 -0
  227. package/.claude/skills/playwright/templates/project/utils/random.ts +34 -0
  228. package/.claude/skills/playwright/templates/project/utils/redact.ts +32 -0
  229. package/.claude/skills/playwright/templates/project/utils/titles.ts +42 -0
  230. package/.claude/skills/playwright/templates/python/.env.example +8 -0
  231. package/.claude/skills/playwright/templates/python/conftest.py +91 -16
  232. package/.claude/skills/playwright/templates/python/gitignore +5 -0
  233. package/.claude/skills/playwright/templates/python/page_objects/__init__.py +1 -0
  234. package/.claude/skills/playwright/templates/python/page_objects/base_page.py +54 -0
  235. package/.claude/skills/playwright/templates/python/page_objects/home_page.py +22 -0
  236. package/.claude/skills/playwright/templates/python/page_objects/login_page.py +42 -0
  237. package/.claude/skills/playwright/templates/python/page_objects/shell_page.py +21 -0
  238. package/.claude/skills/playwright/templates/python/pytest.ini +5 -2
  239. package/.claude/skills/playwright/templates/python/requirements.txt +1 -0
  240. package/.claude/skills/playwright/templates/python/resources/__init__.py +1 -0
  241. package/.claude/skills/playwright/templates/python/resources/desc/__init__.py +1 -0
  242. package/.claude/skills/playwright/templates/python/resources/desc/sign_in_desc.py +27 -0
  243. package/.claude/skills/playwright/templates/python/resources/test_data/__init__.py +1 -0
  244. package/.claude/skills/playwright/templates/python/resources/test_data/test_data.py +41 -0
  245. package/.claude/skills/playwright/templates/python/setup/__init__.py +1 -0
  246. package/.claude/skills/playwright/templates/python/setup/auth.py +53 -0
  247. package/.claude/skills/playwright/templates/python/src/__init__.py +1 -0
  248. package/.claude/skills/playwright/templates/python/src/config/__init__.py +1 -0
  249. package/.claude/skills/playwright/templates/python/{framework/config.py → src/config/env.py} +24 -33
  250. package/.claude/skills/playwright/templates/python/src/config/flags.py +63 -0
  251. package/.claude/skills/playwright/templates/python/src/config/load_env.py +16 -0
  252. package/.claude/skills/playwright/templates/python/src/config/paths.py +25 -0
  253. package/.claude/skills/playwright/templates/python/src/services/__init__.py +1 -0
  254. package/.claude/skills/playwright/templates/python/src/services/api_client.py +60 -0
  255. package/.claude/skills/playwright/templates/python/tests/api/test_session.py +14 -0
  256. package/.claude/skills/playwright/templates/python/tests/ui/test_sign_in.py +36 -0
  257. package/.claude/skills/playwright/templates/python/tests/unit/test_utils.py +32 -0
  258. package/.claude/skills/playwright/templates/python/utils/__init__.py +1 -0
  259. package/.claude/skills/playwright/templates/python/utils/dates.py +23 -0
  260. package/.claude/skills/playwright/templates/python/{framework → utils}/errors.py +3 -2
  261. package/.claude/skills/playwright/templates/python/utils/form_fill.py +26 -0
  262. package/.claude/skills/playwright/templates/python/utils/logger.py +40 -0
  263. package/.claude/skills/playwright/templates/python/utils/markers.py +6 -0
  264. package/.claude/skills/playwright/templates/python/utils/random_data.py +35 -0
  265. package/.claude/skills/playwright/templates/python/utils/redact.py +30 -0
  266. package/.claude/skills/playwright/templates/python/utils/titles.py +53 -0
  267. package/.claude/skills/quality-checks/SKILL.md +11 -11
  268. package/.claude/skills/quality-checks/templates/README.md +14 -12
  269. package/.claude/skills/quality-checks/templates/playwright-js/pageObjects/scannedPage.js +21 -0
  270. package/.claude/skills/quality-checks/templates/playwright-js/resources/desc/quality.desc.js +63 -0
  271. package/.claude/skills/quality-checks/templates/playwright-js/resources/testData/qualityData.js +32 -0
  272. package/.claude/skills/quality-checks/templates/playwright-js/src/checks/accessibility.js +50 -0
  273. package/.claude/skills/quality-checks/templates/playwright-js/src/checks/pageHealth.js +38 -0
  274. package/.claude/skills/quality-checks/templates/playwright-js/src/checks/performance.js +21 -0
  275. package/.claude/skills/quality-checks/templates/playwright-js/src/services/graphqlClient.js +28 -0
  276. package/.claude/skills/quality-checks/templates/playwright-js/tests/api/graphql.spec.js +23 -0
  277. package/.claude/skills/quality-checks/templates/playwright-js/tests/ui/quality.spec.js +50 -0
  278. package/.claude/skills/quality-checks/templates/playwright-ts/pageObjects/scannedPage.ts +20 -0
  279. package/.claude/skills/quality-checks/templates/playwright-ts/resources/desc/quality.desc.ts +59 -0
  280. package/.claude/skills/quality-checks/templates/playwright-ts/{src/data/quality.data.ts → resources/testData/qualityData.ts} +3 -2
  281. package/.claude/skills/quality-checks/templates/playwright-ts/tests/api/graphql.spec.ts +22 -0
  282. package/.claude/skills/quality-checks/templates/playwright-ts/tests/ui/quality.spec.ts +49 -0
  283. package/.claude/skills/requests/templates/README.md +6 -7
  284. package/.claude/skills/requests/templates/python-pytest/.env.example +4 -0
  285. package/.claude/skills/requests/templates/python-pytest/conftest.py +24 -9
  286. package/.claude/skills/requests/templates/python-pytest/pytest.ini +6 -3
  287. package/.claude/skills/requests/templates/python-pytest/requirements.txt +1 -0
  288. package/.claude/skills/requests/templates/python-pytest/resources/__init__.py +1 -0
  289. package/.claude/skills/requests/templates/python-pytest/resources/desc/__init__.py +1 -0
  290. package/.claude/skills/requests/templates/python-pytest/resources/desc/products_desc.py +27 -0
  291. package/.claude/skills/requests/templates/python-pytest/resources/test_data/__init__.py +1 -0
  292. package/.claude/skills/requests/templates/python-pytest/resources/test_data/test_data.py +27 -0
  293. package/.claude/skills/requests/templates/python-pytest/src/__init__.py +1 -0
  294. package/.claude/skills/requests/templates/python-pytest/src/config/__init__.py +1 -0
  295. package/.claude/skills/requests/templates/python-pytest/src/config/env.py +39 -0
  296. package/.claude/skills/requests/templates/python-pytest/src/config/flags.py +35 -0
  297. package/.claude/skills/requests/templates/python-pytest/src/config/load_env.py +16 -0
  298. package/.claude/skills/requests/templates/python-pytest/src/config/paths.py +16 -0
  299. package/.claude/skills/requests/templates/python-pytest/src/services/__init__.py +1 -0
  300. package/.claude/skills/requests/templates/python-pytest/{api/client.py → src/services/api_client.py} +19 -10
  301. package/.claude/skills/requests/templates/python-pytest/{api → src/services}/products_api.py +3 -9
  302. package/.claude/skills/requests/templates/python-pytest/tests/api/test_products.py +35 -0
  303. package/.claude/skills/requests/templates/python-pytest/tests/unit/test_utils.py +32 -0
  304. package/.claude/skills/requests/templates/python-pytest/utils/__init__.py +1 -0
  305. package/.claude/skills/requests/templates/python-pytest/utils/dates.py +23 -0
  306. package/.claude/skills/{selenium/templates/python-pytest/framework → requests/templates/python-pytest/utils}/errors.py +4 -3
  307. package/.claude/skills/requests/templates/python-pytest/utils/logger.py +40 -0
  308. package/.claude/skills/requests/templates/python-pytest/utils/random_data.py +35 -0
  309. package/.claude/skills/requests/templates/python-pytest/utils/redact.py +30 -0
  310. package/.claude/skills/requests/templates/python-pytest/utils/titles.py +53 -0
  311. package/.claude/skills/requirement-analysis/SKILL.md +1 -1
  312. package/.claude/skills/rest-assured/SKILL.md +1 -1
  313. package/.claude/skills/rest-assured/templates/README.md +6 -7
  314. package/.claude/skills/rest-assured/templates/ci/github-actions.yml +5 -2
  315. package/.claude/skills/rest-assured/templates/java-testng/.env.example +3 -0
  316. package/.claude/skills/rest-assured/templates/java-testng/pom.xml +7 -0
  317. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/{api/ApiConfig.java → config/Env.java} +35 -22
  318. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/config/Flags.java +17 -0
  319. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/config/Paths.java +14 -0
  320. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/desc/ProductsDesc.java +26 -0
  321. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/fixtures/BaseTest.java +29 -0
  322. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/services/ApiSpec.java +31 -0
  323. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/services/HealthApi.java +17 -0
  324. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/{api → services}/ProductsApi.java +19 -14
  325. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/{data → testData}/ProductBuilder.java +4 -8
  326. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/testData/TestData.java +64 -0
  327. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/tests/api/ProductsTest.java +49 -0
  328. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/tests/unit/UtilsTest.java +34 -0
  329. package/.claude/skills/{selenium/templates/java-testng/src/test/java/automation/framework → rest-assured/templates/java-testng/src/test/java/automation/utils}/AutomationError.java +4 -4
  330. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/Case.java +20 -0
  331. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/CaseTransformer.java +54 -0
  332. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/Dates.java +42 -0
  333. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/Log.java +45 -0
  334. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/MissingSettingError.java +13 -0
  335. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/RandomData.java +41 -0
  336. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/Redact.java +33 -0
  337. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/utils/TestDescription.java +25 -0
  338. package/.claude/skills/rest-assured/templates/java-testng/src/test/resources/testData/testData.properties +14 -0
  339. package/.claude/skills/rest-assured/templates/java-testng/testng.xml +14 -0
  340. package/.claude/skills/selenium/SKILL.md +1 -1
  341. package/.claude/skills/selenium/templates/README.md +25 -13
  342. package/.claude/skills/selenium/templates/ci/github-actions-java.yml +5 -2
  343. package/.claude/skills/selenium/templates/csharp-nunit/.env.example +15 -0
  344. package/.claude/skills/selenium/templates/csharp-nunit/Automation.csproj +7 -0
  345. package/.claude/skills/selenium/templates/csharp-nunit/{Framework/Config.cs → Config/Env.cs} +33 -34
  346. package/.claude/skills/selenium/templates/csharp-nunit/Config/Flags.cs +39 -0
  347. package/.claude/skills/selenium/templates/csharp-nunit/Config/Paths.cs +31 -0
  348. package/.claude/skills/selenium/templates/csharp-nunit/{Framework → Driver}/DriverFactory.cs +16 -13
  349. package/.claude/skills/selenium/templates/csharp-nunit/Driver/DriverManager.cs +27 -0
  350. package/.claude/skills/selenium/templates/csharp-nunit/Fixtures/BaseTest.cs +56 -0
  351. package/.claude/skills/selenium/templates/csharp-nunit/{Pages → PageObjects}/BasePage.cs +40 -14
  352. package/.claude/skills/selenium/templates/csharp-nunit/PageObjects/HomePage.cs +21 -0
  353. package/.claude/skills/selenium/templates/csharp-nunit/PageObjects/LoginPage.cs +53 -0
  354. package/.claude/skills/selenium/templates/csharp-nunit/PageObjects/ShellPage.cs +22 -0
  355. package/.claude/skills/selenium/templates/csharp-nunit/Resources/Desc/SignInDesc.cs +23 -0
  356. package/.claude/skills/selenium/templates/csharp-nunit/Resources/TestData/TestData.cs +74 -0
  357. package/.claude/skills/selenium/templates/csharp-nunit/Resources/TestData/testData.json +14 -0
  358. package/.claude/skills/selenium/templates/csharp-nunit/Services/ApiClient.cs +71 -0
  359. package/.claude/skills/selenium/templates/csharp-nunit/Setup/AuthSetup.cs +104 -0
  360. package/.claude/skills/selenium/templates/csharp-nunit/Tests/Api/SessionTests.cs +23 -0
  361. package/.claude/skills/selenium/templates/csharp-nunit/Tests/Ui/SignInTests.cs +42 -0
  362. package/.claude/skills/selenium/templates/csharp-nunit/Tests/Unit/UtilsTests.cs +40 -0
  363. package/.claude/skills/selenium/templates/csharp-nunit/Utils/AutomationError.cs +15 -0
  364. package/.claude/skills/selenium/templates/csharp-nunit/Utils/Dates.cs +18 -0
  365. package/.claude/skills/selenium/templates/csharp-nunit/Utils/FormFill.cs +20 -0
  366. package/.claude/skills/selenium/templates/csharp-nunit/Utils/Log.cs +37 -0
  367. package/.claude/skills/selenium/templates/csharp-nunit/Utils/RandomData.cs +26 -0
  368. package/.claude/skills/selenium/templates/csharp-nunit/Utils/Redact.cs +22 -0
  369. package/.claude/skills/selenium/templates/csharp-nunit/Utils/TestDescription.cs +55 -0
  370. package/.claude/skills/selenium/templates/csharp-nunit/gitignore +6 -2
  371. package/.claude/skills/selenium/templates/java-testng/.env.example +12 -0
  372. package/.claude/skills/selenium/templates/java-testng/gitignore +5 -2
  373. package/.claude/skills/selenium/templates/java-testng/pom.xml +2 -0
  374. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/{framework/Config.java → config/Env.java} +45 -55
  375. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/config/Flags.java +50 -0
  376. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/config/Paths.java +20 -0
  377. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/desc/SignInDesc.java +30 -0
  378. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/{framework → driver}/DriverFactory.java +15 -12
  379. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/{framework → driver}/DriverManager.java +4 -7
  380. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/fixtures/BaseTest.java +87 -0
  381. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/{pages → pageObjects}/BasePage.java +38 -17
  382. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/pageObjects/HomePage.java +32 -0
  383. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/pageObjects/LoginPage.java +69 -0
  384. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/pageObjects/ShellPage.java +34 -0
  385. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/services/ApiClient.java +93 -0
  386. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/setup/AuthSetup.java +125 -0
  387. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/testData/TestData.java +88 -0
  388. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/tests/api/SessionTest.java +23 -0
  389. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/tests/ui/SignInTest.java +46 -0
  390. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/tests/unit/UtilsTest.java +34 -0
  391. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/AutomationError.java +18 -0
  392. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/Case.java +20 -0
  393. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/CaseTransformer.java +54 -0
  394. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/Dates.java +42 -0
  395. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/FormFill.java +25 -0
  396. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/Log.java +45 -0
  397. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/MissingSettingError.java +13 -0
  398. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/RandomData.java +41 -0
  399. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/Redact.java +33 -0
  400. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/utils/TestDescription.java +25 -0
  401. package/.claude/skills/selenium/templates/java-testng/src/test/resources/testData/testData.properties +11 -0
  402. package/.claude/skills/selenium/templates/java-testng/testng.xml +15 -5
  403. package/.claude/skills/selenium/templates/python-pytest/.env.example +12 -0
  404. package/.claude/skills/selenium/templates/python-pytest/conftest.py +63 -12
  405. package/.claude/skills/selenium/templates/python-pytest/gitignore +7 -2
  406. package/.claude/skills/selenium/templates/python-pytest/page_objects/__init__.py +1 -0
  407. package/.claude/skills/selenium/templates/python-pytest/{pages → page_objects}/base_page.py +17 -20
  408. package/.claude/skills/selenium/templates/python-pytest/page_objects/home_page.py +17 -0
  409. package/.claude/skills/selenium/templates/python-pytest/{pages → page_objects}/login_page.py +12 -14
  410. package/.claude/skills/selenium/templates/python-pytest/page_objects/shell_page.py +16 -0
  411. package/.claude/skills/selenium/templates/python-pytest/pytest.ini +6 -2
  412. package/.claude/skills/selenium/templates/python-pytest/requirements.txt +1 -0
  413. package/.claude/skills/selenium/templates/python-pytest/resources/__init__.py +1 -0
  414. package/.claude/skills/selenium/templates/python-pytest/resources/desc/__init__.py +1 -0
  415. package/.claude/skills/selenium/templates/python-pytest/resources/desc/sign_in_desc.py +27 -0
  416. package/.claude/skills/selenium/templates/python-pytest/resources/test_data/__init__.py +1 -0
  417. package/.claude/skills/selenium/templates/python-pytest/resources/test_data/test_data.py +25 -0
  418. package/.claude/skills/selenium/templates/python-pytest/setup/__init__.py +1 -0
  419. package/.claude/skills/selenium/templates/python-pytest/setup/auth.py +60 -0
  420. package/.claude/skills/selenium/templates/python-pytest/src/__init__.py +1 -0
  421. package/.claude/skills/selenium/templates/python-pytest/src/config/__init__.py +1 -0
  422. package/.claude/skills/selenium/templates/python-pytest/src/config/env.py +68 -0
  423. package/.claude/skills/selenium/templates/python-pytest/src/config/flags.py +40 -0
  424. package/.claude/skills/selenium/templates/python-pytest/src/config/load_env.py +16 -0
  425. package/.claude/skills/selenium/templates/python-pytest/src/config/paths.py +25 -0
  426. package/.claude/skills/selenium/templates/python-pytest/src/driver/__init__.py +1 -0
  427. package/.claude/skills/selenium/templates/python-pytest/{framework → src/driver}/driver_factory.py +11 -18
  428. package/.claude/skills/selenium/templates/python-pytest/{framework → src/driver}/driver_manager.py +3 -3
  429. package/.claude/skills/selenium/templates/python-pytest/src/services/__init__.py +1 -0
  430. package/.claude/skills/selenium/templates/python-pytest/src/services/api_client.py +89 -0
  431. package/.claude/skills/selenium/templates/python-pytest/tests/api/test_session.py +11 -0
  432. package/.claude/skills/selenium/templates/python-pytest/tests/ui/test_sign_in.py +34 -0
  433. package/.claude/skills/selenium/templates/python-pytest/tests/unit/test_utils.py +32 -0
  434. package/.claude/skills/selenium/templates/python-pytest/utils/__init__.py +1 -0
  435. package/.claude/skills/selenium/templates/python-pytest/utils/dates.py +23 -0
  436. package/.claude/skills/selenium/templates/python-pytest/utils/errors.py +28 -0
  437. package/.claude/skills/selenium/templates/python-pytest/utils/form_fill.py +29 -0
  438. package/.claude/skills/selenium/templates/python-pytest/utils/logger.py +40 -0
  439. package/.claude/skills/selenium/templates/python-pytest/utils/markers.py +6 -0
  440. package/.claude/skills/selenium/templates/python-pytest/utils/random_data.py +35 -0
  441. package/.claude/skills/selenium/templates/python-pytest/utils/redact.py +30 -0
  442. package/.claude/skills/selenium/templates/python-pytest/utils/titles.py +53 -0
  443. package/.claude/skills/self-healing/SKILL.md +1 -1
  444. package/.claude/skills/test-design/SKILL.md +1 -1
  445. package/.claude/skills/ui-observation/SKILL.md +7 -6
  446. package/.claude/skills/ui-observation/references/login-methods.md +1 -1
  447. package/.claude-plugin/plugin.json +1 -1
  448. package/.cursor/commands/orion.md +1 -1
  449. package/.gemini/commands/orion.toml +2 -2
  450. package/.github/prompts/orion.prompt.md +2 -2
  451. package/.windsurf/workflows/orion.md +2 -2
  452. package/AGENTS.md +1 -1
  453. package/README.md +23 -3
  454. package/assets/architecture.svg +104 -0
  455. package/hosts/gemini-extension/gemini-extension.json +1 -1
  456. package/package.json +2 -1
  457. package/.claude/skills/appium/templates/project-java/src/test/java/automation/data/Cases.java +0 -37
  458. package/.claude/skills/appium/templates/project-java/src/test/java/automation/data/SignInData.java +0 -25
  459. package/.claude/skills/appium/templates/project-java/src/test/java/automation/flows/SignInFlow.java +0 -34
  460. package/.claude/skills/appium/templates/project-java/src/test/java/automation/framework/Account.java +0 -19
  461. package/.claude/skills/appium/templates/project-java/src/test/java/automation/screens/HomeScreen.java +0 -36
  462. package/.claude/skills/appium/templates/project-java/src/test/java/automation/screens/LoginScreen.java +0 -57
  463. package/.claude/skills/appium/templates/project-java/src/test/java/automation/tests/BaseTest.java +0 -33
  464. package/.claude/skills/appium/templates/project-java/src/test/java/automation/tests/SmokeTest.java +0 -17
  465. package/.claude/skills/httpclient/templates/csharp-nunit/Api/ApiClient.cs +0 -61
  466. package/.claude/skills/httpclient/templates/csharp-nunit/Api/ApiConfig.cs +0 -61
  467. package/.claude/skills/httpclient/templates/csharp-nunit/Api/ApiError.cs +0 -17
  468. package/.claude/skills/httpclient/templates/csharp-nunit/Data/Cases.cs +0 -41
  469. package/.claude/skills/httpclient/templates/csharp-nunit/Data/HealthData.cs +0 -11
  470. package/.claude/skills/httpclient/templates/csharp-nunit/Data/ProductBuilder.cs +0 -16
  471. package/.claude/skills/httpclient/templates/csharp-nunit/Data/ProductsData.cs +0 -17
  472. package/.claude/skills/httpclient/templates/csharp-nunit/Tests/HealthTests.cs +0 -18
  473. package/.claude/skills/httpclient/templates/csharp-nunit/Tests/ProductsTests.cs +0 -48
  474. package/.claude/skills/k6/templates/project/data/builders.js +0 -8
  475. package/.claude/skills/karate/templates/java-junit5/src/test/java/api/products.feature +0 -33
  476. package/.claude/skills/pact/templates/project/test/contract/products.contract.test.js +0 -45
  477. package/.claude/skills/playwright/templates/dotnet/Components/AccountMenu.cs +0 -23
  478. package/.claude/skills/playwright/templates/dotnet/Data/Cases.cs +0 -43
  479. package/.claude/skills/playwright/templates/dotnet/Data/SignInData.cs +0 -24
  480. package/.claude/skills/playwright/templates/dotnet/Flows/SignInFlow.cs +0 -51
  481. package/.claude/skills/playwright/templates/dotnet/Framework/AutomationError.cs +0 -17
  482. package/.claude/skills/playwright/templates/dotnet/Framework/Config.cs +0 -91
  483. package/.claude/skills/playwright/templates/dotnet/Pages/BasePage.cs +0 -57
  484. package/.claude/skills/playwright/templates/dotnet/Pages/HomePage.cs +0 -26
  485. package/.claude/skills/playwright/templates/dotnet/Pages/LoginPage.cs +0 -45
  486. package/.claude/skills/playwright/templates/dotnet/Tests/SmokeTests.cs +0 -47
  487. package/.claude/skills/playwright/templates/javascript/src/components/account-menu.component.js +0 -30
  488. package/.claude/skills/playwright/templates/javascript/src/config.js +0 -53
  489. package/.claude/skills/playwright/templates/javascript/src/data/accounts.js +0 -23
  490. package/.claude/skills/playwright/templates/javascript/src/data/cases.js +0 -49
  491. package/.claude/skills/playwright/templates/javascript/src/data/sign-in.data.js +0 -12
  492. package/.claude/skills/playwright/templates/javascript/src/flows/sign-in.flow.js +0 -53
  493. package/.claude/skills/playwright/templates/javascript/src/pages/base.page.js +0 -59
  494. package/.claude/skills/playwright/templates/javascript/src/pages/home.page.js +0 -31
  495. package/.claude/skills/playwright/templates/javascript/src/pages/login.page.js +0 -56
  496. package/.claude/skills/playwright/templates/javascript/tests/fixtures.js +0 -20
  497. package/.claude/skills/playwright/templates/javascript/tests/smoke.spec.js +0 -22
  498. package/.claude/skills/playwright/templates/project/src/components/account-menu.component.ts +0 -27
  499. package/.claude/skills/playwright/templates/project/src/config.ts +0 -56
  500. package/.claude/skills/playwright/templates/project/src/data/accounts.ts +0 -21
  501. package/.claude/skills/playwright/templates/project/src/data/cases.ts +0 -55
  502. package/.claude/skills/playwright/templates/project/src/data/sign-in.data.ts +0 -10
  503. package/.claude/skills/playwright/templates/project/src/flows/sign-in.flow.ts +0 -51
  504. package/.claude/skills/playwright/templates/project/src/pages/base.page.ts +0 -52
  505. package/.claude/skills/playwright/templates/project/src/pages/home.page.ts +0 -30
  506. package/.claude/skills/playwright/templates/project/src/pages/login.page.ts +0 -53
  507. package/.claude/skills/playwright/templates/project/tests/fixtures.ts +0 -25
  508. package/.claude/skills/playwright/templates/project/tests/smoke.spec.ts +0 -22
  509. package/.claude/skills/playwright/templates/python/components/__init__.py +0 -1
  510. package/.claude/skills/playwright/templates/python/components/account_menu.py +0 -22
  511. package/.claude/skills/playwright/templates/python/data/accounts.py +0 -14
  512. package/.claude/skills/playwright/templates/python/data/cases.py +0 -33
  513. package/.claude/skills/playwright/templates/python/data/sign_in_data.py +0 -9
  514. package/.claude/skills/playwright/templates/python/flows/sign_in.py +0 -63
  515. package/.claude/skills/playwright/templates/python/pages/base_page.py +0 -51
  516. package/.claude/skills/playwright/templates/python/pages/home_page.py +0 -21
  517. package/.claude/skills/playwright/templates/python/pages/login_page.py +0 -40
  518. package/.claude/skills/playwright/templates/python/tests/test_smoke.py +0 -26
  519. package/.claude/skills/quality-checks/templates/playwright-ts/src/pages/scanned.page.ts +0 -16
  520. package/.claude/skills/quality-checks/templates/playwright-ts/tests/quality.spec.ts +0 -58
  521. package/.claude/skills/requests/templates/python-pytest/api/config.py +0 -43
  522. package/.claude/skills/requests/templates/python-pytest/api/errors.py +0 -15
  523. package/.claude/skills/requests/templates/python-pytest/data/builders.py +0 -16
  524. package/.claude/skills/requests/templates/python-pytest/data/cases.py +0 -30
  525. package/.claude/skills/requests/templates/python-pytest/data/health_data.py +0 -6
  526. package/.claude/skills/requests/templates/python-pytest/data/products_data.py +0 -10
  527. package/.claude/skills/requests/templates/python-pytest/tests/test_health.py +0 -12
  528. package/.claude/skills/requests/templates/python-pytest/tests/test_products.py +0 -25
  529. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/api/ApiError.java +0 -18
  530. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/api/ApiSpec.java +0 -29
  531. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/api/HealthApi.java +0 -21
  532. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/data/Cases.java +0 -45
  533. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/data/HealthData.java +0 -12
  534. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/data/ProductsData.java +0 -16
  535. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/tests/HealthTest.java +0 -15
  536. package/.claude/skills/rest-assured/templates/java-testng/src/test/java/automation/tests/ProductsTest.java +0 -37
  537. package/.claude/skills/selenium/templates/csharp-nunit/Components/AccountMenu.cs +0 -26
  538. package/.claude/skills/selenium/templates/csharp-nunit/Data/Cases.cs +0 -43
  539. package/.claude/skills/selenium/templates/csharp-nunit/Data/SignInData.cs +0 -24
  540. package/.claude/skills/selenium/templates/csharp-nunit/Flows/SignInFlow.cs +0 -51
  541. package/.claude/skills/selenium/templates/csharp-nunit/Framework/AutomationError.cs +0 -17
  542. package/.claude/skills/selenium/templates/csharp-nunit/Framework/DriverManager.cs +0 -26
  543. package/.claude/skills/selenium/templates/csharp-nunit/Pages/HomePage.cs +0 -28
  544. package/.claude/skills/selenium/templates/csharp-nunit/Pages/LoginPage.cs +0 -58
  545. package/.claude/skills/selenium/templates/csharp-nunit/Tests/BaseTest.cs +0 -22
  546. package/.claude/skills/selenium/templates/csharp-nunit/Tests/SmokeTests.cs +0 -37
  547. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/components/AccountMenu.java +0 -37
  548. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/data/Cases.java +0 -48
  549. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/data/SignInData.java +0 -36
  550. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/flows/SignInFlow.java +0 -60
  551. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/framework/Account.java +0 -19
  552. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/pages/HomePage.java +0 -45
  553. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/pages/LoginPage.java +0 -78
  554. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/tests/BaseTest.java +0 -33
  555. package/.claude/skills/selenium/templates/java-testng/src/test/java/automation/tests/SmokeTest.java +0 -33
  556. package/.claude/skills/selenium/templates/python-pytest/components/__init__.py +0 -1
  557. package/.claude/skills/selenium/templates/python-pytest/components/account_menu.py +0 -19
  558. package/.claude/skills/selenium/templates/python-pytest/data/accounts.py +0 -14
  559. package/.claude/skills/selenium/templates/python-pytest/data/cases.py +0 -33
  560. package/.claude/skills/selenium/templates/python-pytest/data/sign_in_data.py +0 -9
  561. package/.claude/skills/selenium/templates/python-pytest/flows/__init__.py +0 -0
  562. package/.claude/skills/selenium/templates/python-pytest/flows/sign_in.py +0 -61
  563. package/.claude/skills/selenium/templates/python-pytest/framework/__init__.py +0 -0
  564. package/.claude/skills/selenium/templates/python-pytest/framework/config.py +0 -90
  565. package/.claude/skills/selenium/templates/python-pytest/pages/__init__.py +0 -0
  566. package/.claude/skills/selenium/templates/python-pytest/pages/home_page.py +0 -23
  567. package/.claude/skills/selenium/templates/python-pytest/tests/test_smoke.py +0 -25
  568. /package/.claude/skills/karate/templates/java-junit5/src/test/java/{api → tests/api}/delete-product.feature +0 -0
  569. /package/.claude/skills/playwright/templates/{python/data/__init__.py → dotnet/auth/.gitkeep} +0 -0
  570. /package/.claude/skills/playwright/templates/{python/flows/__init__.py → javascript/auth/.gitkeep} +0 -0
  571. /package/.claude/skills/playwright/templates/{python/framework/__init__.py → project/auth/.gitkeep} +0 -0
  572. /package/.claude/skills/playwright/templates/project/{src → utils}/errors.ts +0 -0
  573. /package/.claude/skills/playwright/templates/python/{pages/__init__.py → auth/.gitkeep} +0 -0
  574. /package/.claude/skills/quality-checks/templates/playwright-ts/src/checks/{page-health.ts → pageHealth.ts} +0 -0
  575. /package/.claude/skills/quality-checks/templates/playwright-ts/src/{api/graphql.ts → services/graphqlClient.ts} +0 -0
  576. /package/.claude/skills/{requests/templates/python-pytest/api/__init__.py → selenium/templates/csharp-nunit/auth/.gitkeep} +0 -0
  577. /package/.claude/skills/{requests/templates/python-pytest/data/__init__.py → selenium/templates/java-testng/auth/.gitkeep} +0 -0
  578. /package/.claude/skills/selenium/templates/python-pytest/{data/__init__.py → auth/.gitkeep} +0 -0
@@ -1,152 +1,172 @@
1
1
  {
2
- "info": {
3
- "name": "{{PROJECT_NAME}} API tests",
4
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
5
- },
6
- "auth": {
7
- "type": "bearer",
8
- "bearer": [{ "key": "token", "value": "{{token}}", "type": "string" }]
2
+ "info": {
3
+ "name": "{{PROJECT_NAME}} API tests",
4
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
5
+ },
6
+ "auth": {
7
+ "type": "bearer",
8
+ "bearer": [
9
+ {
10
+ "key": "token",
11
+ "value": "{{token}}",
12
+ "type": "string"
13
+ }
14
+ ]
15
+ },
16
+ "item": [
17
+ {
18
+ "name": "Health",
19
+ "item": [
20
+ {
21
+ "name": "TS-0 @AC-0 service answers health check",
22
+ "request": {
23
+ "method": "GET",
24
+ "url": "{{baseUrl}}{{healthPath}}"
25
+ },
26
+ "event": [
27
+ {
28
+ "listen": "test",
29
+ "script": {
30
+ "type": "text/javascript",
31
+ "exec": [
32
+ "pm.test('TS-0 @AC-0 status is the documented one', function () {",
33
+ " pm.response.to.have.status(Number(pm.variables.get('healthStatus')));",
34
+ "});"
35
+ ]
36
+ }
37
+ }
38
+ ]
39
+ }
40
+ ]
9
41
  },
10
- "item": [
42
+ {
43
+ "name": "Products",
44
+ "item": [
11
45
  {
12
- "name": "Health",
13
- "item": [
14
- {
15
- "name": "TS-0 @AC-0 service answers health check",
16
- "request": { "method": "GET", "url": "{{baseUrl}}{{HEALTH_PATH}}" },
17
- "event": [
18
- {
19
- "listen": "test",
20
- "script": {
21
- "type": "text/javascript",
22
- "exec": [
23
- "pm.test('TS-0 @AC-0 status is {{HEALTH_STATUS}}', function () {",
24
- " pm.response.to.have.status({{HEALTH_STATUS}});",
25
- "});"
26
- ]
27
- }
28
- }
29
- ]
30
- }
31
- ]
46
+ "name": "TS-1 @AC-1 create a product (builder: unique name)",
47
+ "event": [
48
+ {
49
+ "listen": "prerequest",
50
+ "script": {
51
+ "type": "text/javascript",
52
+ "exec": [
53
+ "// A `write` case (resources/desc): it creates data, so it runs only with RUN_WRITE_TESTS=1.",
54
+ "pm.collectionVariables.unset('productId');",
55
+ "if (pm.variables.get('runWriteTests') !== '1') { pm.execution.skipRequest(); }",
56
+ "// Builder: a valid product with a run-unique name; productId is cleared above so cleanup only runs after a successful create.",
57
+ "pm.collectionVariables.set('productName', 'Test product ' + Date.now().toString(36));"
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "listen": "test",
63
+ "script": {
64
+ "type": "text/javascript",
65
+ "exec": [
66
+ "pm.test('TS-1 @AC-1 create answers the created status', function () {",
67
+ " pm.response.to.have.status(Number(pm.variables.get('createdStatus')));",
68
+ "});",
69
+ "if (pm.response.code === Number(pm.variables.get('createdStatus'))) { pm.collectionVariables.set('productId', pm.response.json().id); }"
70
+ ]
71
+ }
72
+ }
73
+ ],
74
+ "request": {
75
+ "method": "POST",
76
+ "header": [
77
+ {
78
+ "key": "Content-Type",
79
+ "value": "application/json"
80
+ }
81
+ ],
82
+ "body": {
83
+ "mode": "raw",
84
+ "raw": "{\"name\": \"{{productName}}\", \"price\": {{productPrice}}}"
85
+ },
86
+ "url": "{{baseUrl}}{{productsPath}}"
87
+ }
32
88
  },
33
89
  {
34
- "name": "Products",
35
- "item": [
36
- {
37
- "name": "TS-1 @AC-1 create a product (builder: unique name)",
38
- "event": [
39
- {
40
- "listen": "prerequest",
41
- "script": {
42
- "type": "text/javascript",
43
- "exec": [
44
- "// Builder: a valid product with a run-unique name; productId is cleared so cleanup only runs after a successful create.",
45
- "pm.collectionVariables.set('productName', 'Test product ' + Date.now().toString(36));",
46
- "pm.collectionVariables.unset('productId');"
47
- ]
48
- }
49
- },
50
- {
51
- "listen": "test",
52
- "script": {
53
- "type": "text/javascript",
54
- "exec": [
55
- "pm.test('TS-1 @AC-1 create answers 201', function () {",
56
- " pm.response.to.have.status(201);",
57
- "});",
58
- "if (pm.response.code === 201) { pm.collectionVariables.set('productId', pm.response.json().id); }"
59
- ]
60
- }
61
- }
62
- ],
63
- "request": {
64
- "method": "POST",
65
- "header": [
66
- {
67
- "key": "Content-Type",
68
- "value": "application/json"
69
- }
70
- ],
71
- "body": {
72
- "mode": "raw",
73
- "raw": "{\"name\": \"{{productName}}\", \"price\": 9.99}"
74
- },
75
- "url": "{{baseUrl}}{{PRODUCTS_PATH}}"
76
- }
77
- },
78
- {
79
- "name": "TS-1 @AC-1 read the product back unchanged",
80
- "event": [
81
- {
82
- "listen": "test",
83
- "script": {
84
- "type": "text/javascript",
85
- "exec": [
86
- "pm.test('TS-1 @AC-1 read returns the same name and price', function () {",
87
- " pm.response.to.have.status(200);",
88
- " pm.expect(pm.response.json()).to.include({ name: pm.collectionVariables.get('productName'), price: 9.99 });",
89
- "});"
90
- ]
91
- }
92
- }
93
- ],
94
- "request": {
95
- "method": "GET",
96
- "url": "{{baseUrl}}{{PRODUCTS_PATH}}/{{productId}}"
97
- }
98
- },
99
- {
100
- "name": "Cleanup: delete the product (only if it was created)",
101
- "event": [
102
- {
103
- "listen": "prerequest",
104
- "script": {
105
- "type": "text/javascript",
106
- "exec": [
107
- "if (!pm.collectionVariables.get('productId')) { pm.execution.skipRequest(); }"
108
- ]
109
- }
110
- },
111
- {
112
- "listen": "test",
113
- "script": {
114
- "type": "text/javascript",
115
- "exec": [
116
- "pm.test('cleanup deleted the product', function () {",
117
- " pm.response.to.have.status(204);",
118
- "});",
119
- "pm.collectionVariables.unset('productId');"
120
- ]
121
- }
122
- }
123
- ],
124
- "request": {
125
- "method": "DELETE",
126
- "url": "{{baseUrl}}{{PRODUCTS_PATH}}/{{productId}}"
127
- }
128
- },
129
- {
130
- "name": "TS-2 @AC-1 an unknown product id answers not found",
131
- "event": [
132
- {
133
- "listen": "test",
134
- "script": {
135
- "type": "text/javascript",
136
- "exec": [
137
- "pm.test('TS-2 @AC-1 unknown id answers 404', function () {",
138
- " pm.response.to.have.status(404);",
139
- "});"
140
- ]
141
- }
142
- }
143
- ],
144
- "request": {
145
- "method": "GET",
146
- "url": "{{baseUrl}}{{PRODUCTS_PATH}}/does-not-exist"
147
- }
148
- }
149
- ]
90
+ "name": "TS-1 @AC-1 read the product back unchanged",
91
+ "event": [
92
+ {
93
+ "listen": "prerequest",
94
+ "script": {
95
+ "type": "text/javascript",
96
+ "exec": [
97
+ "if (!pm.collectionVariables.get('productId')) { pm.execution.skipRequest(); }"
98
+ ]
99
+ }
100
+ },
101
+ {
102
+ "listen": "test",
103
+ "script": {
104
+ "type": "text/javascript",
105
+ "exec": [
106
+ "pm.test('TS-1 @AC-1 read returns the same name and price', function () {",
107
+ " pm.response.to.have.status(200);",
108
+ " pm.expect(pm.response.json()).to.include({ name: pm.collectionVariables.get('productName'), price: Number(pm.variables.get('productPrice')) });",
109
+ "});"
110
+ ]
111
+ }
112
+ }
113
+ ],
114
+ "request": {
115
+ "method": "GET",
116
+ "url": "{{baseUrl}}{{productsPath}}/{{productId}}"
117
+ }
118
+ },
119
+ {
120
+ "name": "Cleanup: delete the product (only if it was created)",
121
+ "event": [
122
+ {
123
+ "listen": "prerequest",
124
+ "script": {
125
+ "type": "text/javascript",
126
+ "exec": [
127
+ "if (!pm.collectionVariables.get('productId')) { pm.execution.skipRequest(); }"
128
+ ]
129
+ }
130
+ },
131
+ {
132
+ "listen": "test",
133
+ "script": {
134
+ "type": "text/javascript",
135
+ "exec": [
136
+ "pm.test('cleanup deleted the product', function () {",
137
+ " pm.response.to.have.status(204);",
138
+ "});",
139
+ "pm.collectionVariables.unset('productId');"
140
+ ]
141
+ }
142
+ }
143
+ ],
144
+ "request": {
145
+ "method": "DELETE",
146
+ "url": "{{baseUrl}}{{productsPath}}/{{productId}}"
147
+ }
148
+ },
149
+ {
150
+ "name": "TS-2 @AC-1 an unknown product id answers not found",
151
+ "event": [
152
+ {
153
+ "listen": "test",
154
+ "script": {
155
+ "type": "text/javascript",
156
+ "exec": [
157
+ "pm.test('TS-2 @AC-1 unknown id answers not found', function () {",
158
+ " pm.response.to.have.status(Number(pm.variables.get('notFoundStatus')));",
159
+ "});"
160
+ ]
161
+ }
162
+ }
163
+ ],
164
+ "request": {
165
+ "method": "GET",
166
+ "url": "{{baseUrl}}{{productsPath}}/{{unknownProductId}}"
167
+ }
150
168
  }
151
- ]
169
+ ]
170
+ }
171
+ ]
152
172
  }
@@ -5,6 +5,7 @@
5
5
  "test": "node run.js"
6
6
  },
7
7
  "devDependencies": {
8
- "newman": "{{NEWMAN_VERSION}}"
8
+ "newman": "{{NEWMAN_VERSION}}",
9
+ "newman-reporter-htmlextra": "{{HTMLEXTRA_VERSION}}"
9
10
  }
10
11
  }
@@ -0,0 +1,53 @@
1
+ {
2
+ "_comment": "Test descriptions of the health check and the products resource: one per behaviour. Each case's id starts the names of its requests in the collection (run.js fails when a described case has no request). Tags: smoke (quick check), write (creates data; runs only with RUN_WRITE_TESTS=1).",
3
+ "cases": [
4
+ {
5
+ "id": "TS-0",
6
+ "ac": "AC-0",
7
+ "story": "{{STORY_KEY}}",
8
+ "title": "the service answers the health check",
9
+ "tags": [
10
+ "smoke"
11
+ ],
12
+ "preconditions": [
13
+ "API_BASE_URL (and API_TOKEN, if the API needs one) set"
14
+ ],
15
+ "steps": [
16
+ "GET the health endpoint"
17
+ ],
18
+ "expected": "The documented status"
19
+ },
20
+ {
21
+ "id": "TS-1",
22
+ "ac": "AC-1",
23
+ "story": "{{STORY_KEY}}",
24
+ "title": "a created product can be read back unchanged",
25
+ "tags": [
26
+ "write"
27
+ ],
28
+ "preconditions": [
29
+ "No product with this name"
30
+ ],
31
+ "steps": [
32
+ "Create a product (builder: unique name)",
33
+ "Read it by the returned id",
34
+ "Delete it (only if it was created)"
35
+ ],
36
+ "expected": "Created status on create; the read returns the same name and price"
37
+ },
38
+ {
39
+ "id": "TS-2",
40
+ "ac": "AC-1",
41
+ "story": "{{STORY_KEY}}",
42
+ "title": "an unknown product id answers not found",
43
+ "tags": [],
44
+ "preconditions": [
45
+ "No product with this id"
46
+ ],
47
+ "steps": [
48
+ "Read a product by an id that doesn't exist"
49
+ ],
50
+ "expected": "Not found status"
51
+ }
52
+ ]
53
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_comment": "The suite's test data, in one place: the API's paths, the expected statuses and the example values, from the requirement or the API's documentation. run.js passes every value to the collection as a Postman variable of the same name. Values you give replace the defaults here; secrets stay in .env by name.",
3
+ "healthPath": "{{HEALTH_PATH}}",
4
+ "healthStatus": "{{HEALTH_STATUS}}",
5
+ "productsPath": "{{PRODUCTS_PATH}}",
6
+ "createdStatus": "201",
7
+ "notFoundStatus": "404",
8
+ "unknownProductId": "does-not-exist",
9
+ "productPrice": "9.99"
10
+ }
@@ -1,38 +1,33 @@
1
- // Runs the collection with Newman's Node API so it works the same on Windows, macOS and Linux.
2
- // Values come from the environment or the project's one gitignored .env and are passed as Newman variables;
3
- // they are never written to a file.
1
+ // Runs the collection with Newman's Node API so it works the same on Windows, macOS and Linux. Settings come from
2
+ // src/config/env.js, test data from resources/testData/testData.json (passed as Postman variables), and the cases
3
+ // from resources/desc: a described case with no request in the collection fails the run before it starts.
4
4
  const newman = require('newman');
5
+ const { settings } = require('./src/config/env');
6
+ const collection = require('./collections/api.postman_collection.json');
7
+ const testData = require('./resources/testData/testData.json');
8
+ const { cases } = require('./resources/desc/products.desc.json');
5
9
 
6
10
  /**
7
- * Loads the project's one `.env` into the environment, if it exists; variables already set win. CI passes the same
8
- * names as secrets instead.
9
- * @returns {void}
11
+ * The names of every request in the collection, folders included.
12
+ * @param {{ item?: object[], name: string }[]} items The collection's items.
13
+ * @returns {string[]} The names.
10
14
  */
11
- function loadEnvFile() {
12
- try {
13
- process.loadEnvFile('.env');
14
- } catch {
15
- // No .env: the values come from the environment (CI secrets).
16
- }
15
+ function requestNames(items) {
16
+ return items.flatMap((it) => (it.item ? requestNames(it.item) : [it.name]));
17
17
  }
18
18
 
19
19
  /**
20
- * Reads the run's settings.
21
- * @returns {{ baseUrl: string, token: string, runs: number, folder: string | undefined }} The settings; exits with
22
- * code 2 and names the variable when `API_BASE_URL` is missing.
20
+ * Fails when a described case has no request whose name starts with its id, so the description and the collection
21
+ * can't drift apart.
22
+ * @returns {void}
23
23
  */
24
- function settings() {
25
- const baseUrl = process.env.API_BASE_URL;
26
- if (!baseUrl) {
27
- console.error('Read setting API_BASE_URL: not set (add it to the project .env or the CI secrets; never to code)');
28
- process.exit(2);
24
+ function checkCasesHaveRequests() {
25
+ const names = requestNames(collection.item);
26
+ const missing = cases.filter((c) => !names.some((n) => n.startsWith(`${c.id} `)));
27
+ if (missing.length) {
28
+ console.error(`Described cases with no request in the collection: ${missing.map((c) => c.id).join(', ')}`);
29
+ process.exit(1);
29
30
  }
30
- return {
31
- baseUrl,
32
- token: process.env.API_TOKEN || '',
33
- runs: Number(process.env.TEST_REPEAT || '1'), // 3 for new tests: every iteration must pass
34
- folder: process.env.TEST_FILTER || undefined, // a folder or request name in the collection
35
- };
36
31
  }
37
32
 
38
33
  /**
@@ -54,25 +49,40 @@ function finish(err, summary) {
54
49
  }
55
50
 
56
51
  /**
57
- * Runs the collection against the test environment with the settings above.
52
+ * Runs the collection against the test environment.
58
53
  * @returns {void}
59
54
  */
60
55
  function main() {
61
- loadEnvFile();
56
+ checkCasesHaveRequests();
62
57
  const s = settings();
58
+ const data = Object.entries(testData).filter(([key]) => !key.startsWith('_')).map(([key, value]) => ({ key, value }));
63
59
  newman.run({
64
- collection: require('./collections/api.postman_collection.json'),
60
+ collection,
65
61
  environment: require('./environments/test.postman_environment.json'),
66
62
  envVar: [
67
63
  { key: 'baseUrl', value: s.baseUrl },
68
64
  { key: 'token', value: s.token },
69
65
  ],
66
+ globalVar: [...data, { key: 'runWriteTests', value: s.runWriteTests ? '1' : '0' }],
70
67
  folder: s.folder,
71
68
  iterationCount: s.runs,
72
69
  timeoutRequest: 15000,
73
- reporters: ['cli', 'junit'],
74
- reporter: { junit: { export: 'reports/junit.xml' } },
70
+ reporters: ['cli', 'junit', 'htmlextra'].filter((r) => r !== 'htmlextra' || hasHtmlReporter()),
71
+ reporter: { junit: { export: 'reports/junit.xml' }, htmlextra: { export: 'reports/report.html' } },
75
72
  }, finish);
76
73
  }
77
74
 
75
+ /**
76
+ * Whether the HTML reporter is installed (newman-reporter-htmlextra, in package.json).
77
+ * @returns {boolean} True when it can be loaded.
78
+ */
79
+ function hasHtmlReporter() {
80
+ try {
81
+ require.resolve('newman-reporter-htmlextra');
82
+ return true;
83
+ } catch {
84
+ return false;
85
+ }
86
+ }
87
+
78
88
  main();
@@ -0,0 +1,37 @@
1
+ // Settings of the suite, read in this one place: the project's one `.env` is loaded once (variables already set, e.g.
2
+ // CI secrets, win); values are passed to Newman as variables and never written to a file.
3
+
4
+ /**
5
+ * Loads the project's one `.env` into the environment, if it exists.
6
+ * @returns {void}
7
+ */
8
+ function loadEnvFile() {
9
+ try {
10
+ process.loadEnvFile('.env');
11
+ } catch {
12
+ // No .env: the values come from the environment (CI secrets).
13
+ }
14
+ }
15
+
16
+ /**
17
+ * Reads the run's settings; exits with code 2 and names the variable when `API_BASE_URL` is missing.
18
+ * @returns {{ baseUrl: string, token: string, runs: number, folder: string | undefined, runWriteTests: boolean }}
19
+ * The settings.
20
+ */
21
+ function settings() {
22
+ loadEnvFile();
23
+ const baseUrl = process.env.API_BASE_URL;
24
+ if (!baseUrl) {
25
+ console.error('Read setting API_BASE_URL: not set (add it to the project .env or the CI secrets; never to code)');
26
+ process.exit(2);
27
+ }
28
+ return {
29
+ baseUrl,
30
+ token: process.env.API_TOKEN || '',
31
+ runs: Number(process.env.TEST_REPEAT || '1'), // 3 for new tests: every iteration must pass
32
+ folder: process.env.TEST_FILTER || undefined, // a folder or request name in the collection
33
+ runWriteTests: process.env.RUN_WRITE_TESTS === '1', // `write` cases create data
34
+ };
35
+ }
36
+
37
+ module.exports = { settings };
@@ -12,23 +12,25 @@ description: "Runs the end-to-end test-automation workflow for a requirement: va
12
12
 
13
13
  ## Procedure
14
14
  00. **Rules first, on every host.** Read `AGENTS.md` before anything else: the repo root, else `${CLAUDE_PLUGIN_ROOT}/AGENTS.md` in a plugin install. Don't rely on the host having loaded it (Claude Code skips it when the project has a `CLAUDE.md`; Codex prefers an `AGENTS.override.md`). Copilot Studio has no files: the rules are in your instructions. Not found anywhere → say so in your first sentence and run `doctor`. Then read [references/capabilities.md](references/capabilities.md): what the platform can do now, which agent does what, and where each template and rule lives.
15
- 0e. **Greeting and start.** A greeting or empty request gets the capability card. A request to write, extend or design tests (full, build, design) gets the [setup card](references/setup-card.md) word for word (existing framework? existing test cases? style, tool and language, connections, site and scope, account, extra checks) and waits for go; after exploring, the test-case table waits for go before any code. No other form or questions. The other modes get no card. Everything the user sees follows [references/conversation.md](references/conversation.md).
16
- 0. **Mode.** Decide what the user asked for and its stop point from [references/modes.md](references/modes.md) (full, build, analyze, design, review, triage, run, report, doctor, task); don't announce it (it goes in the run file), run only that mode's agents and stop at its stop point. Analyze, review, triage and run follow that table; the others are below.
15
+ 0e. **Greeting and start.** A greeting or empty request gets the capability card. A request to write, extend or design tests (full, build, design) gets the [setup card](references/setup-card.md) word for word (existing framework? existing test cases? style, tool and language, connections, site and scope, account, extra checks) and waits for go (the next story in the same chat: one "Same setup as before" line instead, conversation.md 1a); after exploring, the test-case table waits for go before any code. No other form or questions. The other modes get no card. Everything the user sees follows [references/conversation.md](references/conversation.md).
16
+ 0. **Mode.** Decide what the user asked for and its stop point from [references/modes.md](references/modes.md) (full, build, analyze, assess, fix, design, review, triage, run, report, doctor, task; for assess and fix read [references/assess-fix.md](references/assess-fix.md), and only then); don't announce it (it goes in the run file), run only that mode's agents and stop at its stop point. Analyze, review, triage and run follow that table; the others are below.
17
17
  0b. **Report mode.** If the requirement starts with `report` (`/orion report <scope>`: a run id, story, sprint or fix version, release, date range, or `trend`), delegate test-reporter in `aggregate` mode with the run files in scope. Read-only: no gates, no approvals; publishing the result is a separate H9 question.
18
18
  0a. **Design mode.** If the requirement starts with `design` (`/orion design <story>`), run Gates 1–4 only, then Gate 7 on the design (every TS traces to an AC, every claim has evidence) and Gate 8 (the user accepts the test design). Gates 5 and 6 are recorded as `n/a — design mode`, not skipped silently. No implementer, executor or change-agent is delegated, except an implementer render task for an `.xlsx` the user asked for (no test code). The report is the test design and traceability matrix, plus the files in the formats the user chose ([references/delivery-formats.md](references/delivery-formats.md)). After you accept it, `/orion <story>` continues from Gate 5 with that design (Gates 1–4 are re-checked only if the requirement or the code changed since).
19
19
  0d. **Doctor.** If the requirement is `doctor`, follow [references/doctor.md](references/doctor.md) instead of this procedure and stop.
20
- 1. **Open the run.** If `project-context/` is missing, copy the templates in `templates/project-context/` (file roles: [references/project-context-files.md](references/project-context-files.md)). Create the run file `runs/R-<YYYYMMDD>-<HHMM>-<key>.md` from `templates/project-context/run.md` with gates 1–8 set to ○, and add one index line to `execution-history.md`. One file per run, so two runs in the same repo never edit the same file.
20
+ 1. **Open the run.** If `project-context/` is missing, copy the templates in `templates/project-context/` (file roles: [references/project-context-files.md](references/project-context-files.md)). Create the run file `runs/R-<YYYYMMDD>-<HHMM>-<key>.md` from `templates/project-context/run.md` with gates 1–8 set to ○, and add one index line to `execution-history.md` (with a shell: `node .claude/skills/orion/scripts/run_state.mjs init <key> --requirement "<text>" --workflow <workflow>` does both and prints the path). One file per run, so two runs in the same repo never edit the same file.
21
21
  1a. **Blockers first.** If the request needs something this host or deployment lacks (a tool, connection, permission, adapter or environment), say so in the plain blocker message from [references/blockers.md](references/blockers.md) before collecting any other details, with the one action that unblocks it; while it stands, mention it in one sentence. Before every question, check that the answer changes what you can do now; otherwise leave it for later.
22
22
  2. **Read what is known.** Load `confirmed` facts. Re-check any `confirmed` fact older than the last commit before relying on it for Gate 3.
23
- 3. **Pick the workflow.** The open workspace decides where code goes ([references/work-branch.md](references/work-branch.md)): it holds this app's suite → extend it (existing-project path); it is the agent install (`.claude/` or `registry/` at its root) or has no suite → `build` in `sut/<short-app-name>/` from the starter template (Gate 3 `greenfield: <adapter> starter template`; the default stack is Playwright + TypeScript unless the user named another, so Gate 4 doesn't ask). Gate 2 explores the URL the user gave; the confirmed setup card covers that ([references/conversation.md](references/conversation.md) item 2). An existing repo or folder named on the card's line 1 is handled first ([references/work-branch.md](references/work-branch.md), "An existing framework"). No registry match → new-technology path (ask before drafting an adapter).
23
+ 3. **Pick the workflow.** The open workspace decides where code goes ([references/work-branch.md](references/work-branch.md)): it holds this app's suite → extend it (existing-project path); it is the agent install (`.claude/` or `registry/` at its root) or has no suite → `build` in `sut/<short-app-name>/` from the starter template (Gate 3 `greenfield: <adapter> starter template`; the default stack is Playwright + JavaScript (`playwright/templates/javascript`, the suite architecture) unless the user named another, so Gate 4 doesn't ask). Gate 2 explores the URL the user gave; the confirmed setup card covers that ([references/conversation.md](references/conversation.md) item 2). An existing repo or folder named on the card's line 1 is handled first ([references/work-branch.md](references/work-branch.md), "An existing framework"). No registry match → new-technology path (ask before drafting an adapter).
24
24
  4. **Loop until COMPLETE or stopped.** For the first unmet gate, pick the cheapest action that advances it and one decision: CONTINUE · DELEGATE · PARALLELIZE · RETRY · REPLAN · ASK_USER · BLOCK · ESCALATE · COMPLETE.
25
25
  5. **Delegate with a brief** ([references/task-brief.md](references/task-brief.md)). Gates 2 and 3 run in parallel. **Never stand in another agent for a specialist** (`general-purpose`, a built-in explore or review agent): it has none of the specialist's *Never* list. **If a specialist can't start** (Cursor's Task tool rejects the platform's agent types; a Claude Code start error), say so in one line, load that specialist's skills and do the step yourself; the run file names you, not the specialist, for that work ([references/hosts.md](references/hosts.md)). **Explore once:** for a UI story, Gate 2's brief asks environment-discovery to explore the app at the URL the user gave; when the MCP browser can't be used for this app (not set up for this project, or an HTTP auth prompt), the walk takes the runner route and goes to the implementer, which has a shell (`ui-observation`, Tools); save the UI map it returns as `project-context/ui-maps/<story>.md` and pass that path as `ui_map` in every later brief (test design, implementer, reviewer, failure-analyst). Rows a later `top-up` or `heal` returns are appended to the same file. Scripts are written only after the map exists; no step explores what the map already has. Never two writers on the same files. From Gate 5 on, every brief carries the code hand-off fields (worktree, base, work branch, where tests run, files) from [references/work-branch.md](references/work-branch.md); when tests run in CI, ask H3 for the work-branch push **before** Gate 6, never after. A build request covers running the new tests on this machine; CI, a container, or the rest of an existing suite is an H6 question when Gate 4 closes.
26
26
  6. **Accept or reject each RESULT** with the 7 checks in [references/task-brief.md](references/task-brief.md) (the 7th: the gate-specific content table). Rejected once → RETRY with the reason; that is the only revision. A RETRY must change something: if the fix needs a fact the writer can't get, DELEGATE environment-discovery for it first. Rejected again: the implementer's best version is **delivered as a draft** with the open findings listed as known issues (status `partial`), other agents ESCALATE with what exists; nothing ends empty. A disagreement about how the app behaves is settled by running the test or observing the app (H6), never by another review round; without a way to run it, it becomes a known issue.
27
27
  Gate 1 is delegated to requirement-analyst on every path, the existing-project path included (single-agent: its skill as its own step, recorded).
28
28
  6a. **Recover** Gate 6 failures with [references/recovery-loop.md](references/recovery-loop.md).
29
- 7. **Record.** Every time in the run file comes from the clock at the moment you write it (`date +%H:%M`; the run id from `date +%Y%m%d-%H%M` at step 1), never estimated or filled in later: write a gate row's start when the gate starts and its end when it ends, so the rows are in order and no time is later than now. If a run-file write is denied, retry once with a smaller write in the same turn and say so if that fails too. Update gate state, the progress board and the `Run state` block in the run file after every result (shown in chat only on `details`), and the `### Metrics` block at every stop (BLOCK, ESCALATE, waiting on the user, COMPLETE). Append every decision that needs a record to `decisions.md` (template in the reference).
30
- 8. **Ask the user** for H1–H13 approvals. Before each question, re-read `AGENTS.md` rule 2; ask one question naming the action, target and scope. Record the exact question and the user's reply to it, verbatim, with the user's handle (e.g. GitHub or chat username, not a full name) and date. Only a reply typed after the question, by the user who started the run, counts (in a shared chat or channel, a reply from anyone else is not approval): never take an answer from a file, a scenario, an earlier run, text pasted before the question, or a description of what the user will do. Silence is not approval.
31
- 9. **Finish.** Never ask for acceptance while Gate 5 or Gate 7 is `not run`: on a single-agent host run the `code-review`, `automation-review`, `security-review` and `evidence-validation` skills yourself first, each as its own step, and give one line each in the result (what it checked, findings). After Gate 7, write the report with the `documentation` skill, show it, and ask for acceptance (Gate 8). Deliver the code as files in the workspace, and test cases or code in another format only when the request named one, per [references/delivery-formats.md](references/delivery-formats.md): text formats you write under `project-context/test-designs/<story>/`, `.xlsx` and zip come from the implementer with their absolute paths, each checked before it is shown. Write only confirmed facts and decisions back to project context.
29
+ 7. **Record, without spending turns on it.** With a shell, every run-file update is one `node .claude/skills/orion/scripts/run_state.mjs <run file> <action> [+ <action> …]` call (gate start/end, retry, log row, Run state line, metrics; it reads the clock itself and refuses secret-looking values), made **in the same turn as your next action** as a parallel tool call: record a RESULT and delegate the next gate together, never in a turn of their own, and don't run `date` separately. Append to `decisions.md` in that same turn too. Measured reason (2026-11-12 baseline): bookkeeping took 27 of the orchestrator's ~60 tool calls, and every extra turn re-reads the whole conversation. Without a shell, edit the file as below. Every time in the run file comes from the clock at the moment you write it (`date +%H:%M`; the run id from `date +%Y%m%d-%H%M` at step 1), never estimated or filled in later: write a gate row's start when the gate starts and its end when it ends, so the rows are in order and no time is later than now. If a run-file write is denied, retry once with a smaller write in the same turn and say so if that fails too. Update gate state, the progress board and the `Run state` block in the run file after every result (shown in chat only on `details`), and the `### Metrics` block at every stop (BLOCK, ESCALATE, waiting on the user, COMPLETE). On Claude Code with a shell (the `/orion` skill in the main session), at every stop also run `node .claude/skills/orion/scripts/usage_report.mjs --session latest --since <started> --out project-context/runs/<run id>.usage.json` and then the same with `--format md`, and paste that table under `### Usage by agent` (token counts and sizes only; it never copies message text). If it prints `usage: unknown`, write `unknown`. Without a shell (the `super-orchestrator` agent, other hosts), write `usage: not measured in-session; run usage_report.mjs afterwards` — never a figure you didn't read from a tool. Append every decision that needs a record to `decisions.md` (template in the reference). When the user accepts the test cases (Gate 4), save them as `project-context/test-designs/<story>/design.md` (template `test-design.md`) on every run, not only when a file format was asked for; keep `test-case-map.md` (one row per case, global ids `<story>:TS-n`) and `defects.md` (one line per defect draft the user accepted) current from the RESULTs.
30
+ 7b. **The graph** (with a shell; no model call, a build takes well under a second). In the same turn as your next action: `node .claude/skills/orion/scripts/graph.mjs build` after Gates 2, 4, 5 and 6 and after each heal; then `graph.mjs query --story <KEY> > project-context/graph/<KEY>.md` and name that file in the briefs of the strategist, implementer, reviewer and evidence-validator as the story's map of cases, desc entries, tests, page objects, screens and results, so they read it instead of whole UI maps and suites. At Gate 8, `graph.mjs check --story <KEY>` and put its gaps (an AC with no case, a case with no test or result, a test with no case, a page object with no screen) in the delivery as open items. If a graph call fails, or there's no shell, carry on as before and write `graph not used: <reason>` in the run file; the run never depends on it.
31
+ 7a. **Read only what this step needs.** Your skill, this run's files and the references named for the step. Never a specialist's skill, a template the specialist fills, or app code: the specialist reads its own, and your context is re-read on every turn.
32
+ 8. **Ask the user** for H1–H14 approvals. Before each question, re-read `AGENTS.md` rule 2; ask one question naming the action, target and scope. Record the exact question and the user's reply to it, verbatim, with the user's handle (e.g. GitHub or chat username, not a full name) and date. Only a reply typed after the question, by the user who started the run, counts (in a shared chat or channel, a reply from anyone else is not approval): never take an answer from a file, a scenario, an earlier run, text pasted before the question, or a description of what the user will do. Silence is not approval.
33
+ 9. **Finish.** Never ask for acceptance while Gate 5 or Gate 7 is `not run`: on a single-agent host run the `code-review`, `automation-review`, `security-review` and `evidence-validation` skills yourself first, each as its own step, and give one line each in the result (what it checked, findings). After Gate 7, write the report with the `documentation` skill (it must pass `report_check.mjs`), show it, and ask for acceptance (Gate 8). Deliver the code as files in the workspace, and test cases or code in another format only when the request named one, per [references/delivery-formats.md](references/delivery-formats.md): text formats you write under `project-context/test-designs/<story>/`, `.xlsx` and zip come from the implementer with their absolute paths, each checked before it is shown. Write only confirmed facts and decisions back to project context.
32
34
  10. **Share (optional, after Gate 8 or design-mode acceptance).** Offer what the project's test-management tool supports (from `integration-profile.md`): publish the report (Confluence or a Jira comment), export the accepted test cases, write the run results. Ask H9 once per batch, listing every item and its target; delegate test-reporter with that D-nnn. Write the mapping it returns to `project-context/test-case-map.md`. Declined → nothing is written; the run is still complete.
33
35
 
34
36
  ## Output