@cucumber/react-components 23.1.1 → 24.0.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 (183) hide show
  1. package/dist/src/SearchContext.d.ts +1 -0
  2. package/dist/src/SearchContext.d.ts.map +1 -1
  3. package/dist/src/SearchContext.js +1 -0
  4. package/dist/src/SearchContext.js.map +1 -1
  5. package/dist/src/components/app/ControlledSearchProvider.d.ts.map +1 -1
  6. package/dist/src/components/app/ControlledSearchProvider.js +2 -0
  7. package/dist/src/components/app/ControlledSearchProvider.js.map +1 -1
  8. package/dist/src/components/app/DocumentAccordion.d.ts +15 -0
  9. package/dist/src/components/app/DocumentAccordion.d.ts.map +1 -0
  10. package/dist/src/components/app/DocumentAccordion.js +30 -0
  11. package/dist/src/components/app/DocumentAccordion.js.map +1 -0
  12. package/dist/src/components/app/ExecutionSummary.d.ts.map +1 -1
  13. package/dist/src/components/app/ExecutionSummary.js +3 -0
  14. package/dist/src/components/app/ExecutionSummary.js.map +1 -1
  15. package/dist/src/components/app/FilteredDocuments.d.ts.map +1 -1
  16. package/dist/src/components/app/FilteredDocuments.js +6 -6
  17. package/dist/src/components/app/FilteredDocuments.js.map +1 -1
  18. package/dist/src/components/app/FilteredDocuments.module.scss +3 -0
  19. package/dist/src/components/app/GherkinDocumentList.d.ts.map +1 -1
  20. package/dist/src/components/app/GherkinDocumentList.js +15 -48
  21. package/dist/src/components/app/GherkinDocumentList.js.map +1 -1
  22. package/dist/src/components/app/Report.d.ts +3 -0
  23. package/dist/src/components/app/Report.d.ts.map +1 -0
  24. package/dist/src/components/app/Report.js +19 -0
  25. package/dist/src/components/app/Report.js.map +1 -0
  26. package/dist/src/components/app/Report.module.scss +10 -0
  27. package/dist/src/components/app/TestRunHooks.d.ts +3 -0
  28. package/dist/src/components/app/TestRunHooks.d.ts.map +1 -0
  29. package/dist/src/components/app/TestRunHooks.js +14 -0
  30. package/dist/src/components/app/TestRunHooks.js.map +1 -0
  31. package/dist/src/components/app/TestRunHooks.module.scss +16 -0
  32. package/dist/src/components/app/findMostSevereTestStepResultStatus.d.ts +3 -0
  33. package/dist/src/components/app/findMostSevereTestStepResultStatus.d.ts.map +1 -0
  34. package/dist/src/components/app/findMostSevereTestStepResultStatus.js +17 -0
  35. package/dist/src/components/app/findMostSevereTestStepResultStatus.js.map +1 -0
  36. package/dist/src/components/app/index.d.ts +2 -2
  37. package/dist/src/components/app/index.d.ts.map +1 -1
  38. package/dist/src/components/app/index.js +2 -2
  39. package/dist/src/components/app/index.js.map +1 -1
  40. package/dist/src/components/customise/CustomRendering.d.ts +1 -25
  41. package/dist/src/components/customise/CustomRendering.d.ts.map +1 -1
  42. package/dist/src/components/customise/CustomRendering.js.map +1 -1
  43. package/dist/src/components/gherkin/Anchor.module.scss +1 -1
  44. package/dist/src/components/gherkin/Background.d.ts.map +1 -1
  45. package/dist/src/components/gherkin/Background.js +6 -5
  46. package/dist/src/components/gherkin/Background.js.map +1 -1
  47. package/dist/src/components/gherkin/Children.module.scss +4 -0
  48. package/dist/src/components/gherkin/Examples.d.ts.map +1 -1
  49. package/dist/src/components/gherkin/Examples.js +22 -6
  50. package/dist/src/components/gherkin/Examples.js.map +1 -1
  51. package/dist/src/components/gherkin/Examples.module.scss +6 -0
  52. package/dist/src/components/gherkin/Scenario.d.ts.map +1 -1
  53. package/dist/src/components/gherkin/Scenario.js +8 -25
  54. package/dist/src/components/gherkin/Scenario.js.map +1 -1
  55. package/dist/src/components/gherkin/composeHookStepTitle.d.ts +3 -0
  56. package/dist/src/components/gherkin/composeHookStepTitle.d.ts.map +1 -0
  57. package/dist/src/components/gherkin/composeHookStepTitle.js +23 -0
  58. package/dist/src/components/gherkin/composeHookStepTitle.js.map +1 -0
  59. package/dist/src/components/gherkin/composePickleStepTitle.d.ts +8 -0
  60. package/dist/src/components/gherkin/composePickleStepTitle.d.ts.map +1 -0
  61. package/dist/src/components/gherkin/composePickleStepTitle.js +36 -0
  62. package/dist/src/components/gherkin/composePickleStepTitle.js.map +1 -0
  63. package/dist/src/components/gherkin/index.d.ts +0 -7
  64. package/dist/src/components/gherkin/index.d.ts.map +1 -1
  65. package/dist/src/components/gherkin/index.js +0 -7
  66. package/dist/src/components/gherkin/index.js.map +1 -1
  67. package/dist/src/components/gherkin/isNumber.d.ts.map +1 -1
  68. package/dist/src/components/gherkin/isNumber.js +2 -1
  69. package/dist/src/components/gherkin/isNumber.js.map +1 -1
  70. package/dist/src/components/results/TestCaseOutcome.d.ts +8 -0
  71. package/dist/src/components/results/TestCaseOutcome.d.ts.map +1 -0
  72. package/dist/src/components/results/TestCaseOutcome.js +13 -0
  73. package/dist/src/components/results/TestCaseOutcome.js.map +1 -0
  74. package/dist/src/components/results/TestCaseOutcome.module.scss +15 -0
  75. package/dist/src/components/results/TestRunHookOutcome.d.ts +9 -0
  76. package/dist/src/components/results/TestRunHookOutcome.d.ts.map +1 -0
  77. package/dist/src/components/results/TestRunHookOutcome.js +20 -0
  78. package/dist/src/components/results/TestRunHookOutcome.js.map +1 -0
  79. package/dist/src/components/results/TestRunHookOutcome.module.scss +36 -0
  80. package/dist/src/components/results/TestStepAttachments.d.ts +8 -0
  81. package/dist/src/components/results/TestStepAttachments.d.ts.map +1 -0
  82. package/dist/src/components/results/TestStepAttachments.js +13 -0
  83. package/dist/src/components/results/TestStepAttachments.js.map +1 -0
  84. package/dist/src/components/results/TestStepAttachments.module.scss +9 -0
  85. package/dist/src/components/results/TestStepDuration.d.ts +6 -0
  86. package/dist/src/components/results/TestStepDuration.d.ts.map +1 -0
  87. package/dist/src/components/results/TestStepDuration.js +17 -0
  88. package/dist/src/components/results/TestStepDuration.js.map +1 -0
  89. package/dist/src/components/results/TestStepDuration.module.scss +11 -0
  90. package/dist/src/components/results/TestStepOutcome.d.ts +9 -0
  91. package/dist/src/components/results/TestStepOutcome.d.ts.map +1 -0
  92. package/dist/src/components/results/TestStepOutcome.js +54 -0
  93. package/dist/src/components/results/TestStepOutcome.js.map +1 -0
  94. package/dist/src/components/results/TestStepOutcome.module.scss +36 -0
  95. package/dist/src/components/results/index.d.ts +1 -0
  96. package/dist/src/components/results/index.d.ts.map +1 -1
  97. package/dist/src/components/results/index.js +1 -0
  98. package/dist/src/components/results/index.js.map +1 -1
  99. package/dist/src/formatPassedQuantity.d.ts +2 -0
  100. package/dist/src/formatPassedQuantity.d.ts.map +1 -0
  101. package/dist/src/formatPassedQuantity.js +4 -0
  102. package/dist/src/formatPassedQuantity.js.map +1 -0
  103. package/dist/src/hooks/helpers.d.ts +2 -0
  104. package/dist/src/hooks/helpers.d.ts.map +1 -0
  105. package/dist/src/hooks/helpers.js +7 -0
  106. package/dist/src/hooks/helpers.js.map +1 -0
  107. package/dist/src/hooks/useFilteredDocuments.d.ts +4 -1
  108. package/dist/src/hooks/useFilteredDocuments.d.ts.map +1 -1
  109. package/dist/src/hooks/useFilteredDocuments.js +6 -2
  110. package/dist/src/hooks/useFilteredDocuments.js.map +1 -1
  111. package/dist/src/hooks/useMostSevereStatusByUri.d.ts +3 -0
  112. package/dist/src/hooks/useMostSevereStatusByUri.d.ts.map +1 -0
  113. package/dist/src/hooks/useMostSevereStatusByUri.js +25 -0
  114. package/dist/src/hooks/useMostSevereStatusByUri.js.map +1 -0
  115. package/dist/src/hooks/useTestCaseStarted.d.ts +3 -0
  116. package/dist/src/hooks/useTestCaseStarted.d.ts.map +1 -0
  117. package/dist/src/hooks/useTestCaseStarted.js +17 -0
  118. package/dist/src/hooks/useTestCaseStarted.js.map +1 -0
  119. package/dist/src/hooks/useTestRunHooks.d.ts +8 -0
  120. package/dist/src/hooks/useTestRunHooks.d.ts.map +1 -0
  121. package/dist/src/hooks/useTestRunHooks.js +14 -0
  122. package/dist/src/hooks/useTestRunHooks.js.map +1 -0
  123. package/dist/src/index.d.ts +0 -1
  124. package/dist/src/index.d.ts.map +1 -1
  125. package/dist/src/index.js +0 -1
  126. package/dist/src/index.js.map +1 -1
  127. package/dist/src/styles/theming.scss +1 -0
  128. package/dist/tsconfig.build.tsbuildinfo +1 -1
  129. package/package.json +16 -14
  130. package/dist/src/UriContext.d.ts +0 -4
  131. package/dist/src/UriContext.d.ts.map +0 -1
  132. package/dist/src/UriContext.js +0 -3
  133. package/dist/src/UriContext.js.map +0 -1
  134. package/dist/src/components/app/NoMatchResult.d.ts +0 -3
  135. package/dist/src/components/app/NoMatchResult.d.ts.map +0 -1
  136. package/dist/src/components/app/NoMatchResult.js +0 -10
  137. package/dist/src/components/app/NoMatchResult.js.map +0 -1
  138. package/dist/src/components/app/NoMatchResult.module.scss +0 -13
  139. package/dist/src/components/app/UriProvider.d.ts +0 -5
  140. package/dist/src/components/app/UriProvider.d.ts.map +0 -1
  141. package/dist/src/components/app/UriProvider.js +0 -6
  142. package/dist/src/components/app/UriProvider.js.map +0 -1
  143. package/dist/src/components/gherkin/ExampleDetail.d.ts +0 -8
  144. package/dist/src/components/gherkin/ExampleDetail.d.ts.map +0 -1
  145. package/dist/src/components/gherkin/ExampleDetail.js +0 -40
  146. package/dist/src/components/gherkin/ExampleDetail.js.map +0 -1
  147. package/dist/src/components/gherkin/ExampleDetail.module.scss +0 -5
  148. package/dist/src/components/gherkin/ExamplesContext.d.ts +0 -5
  149. package/dist/src/components/gherkin/ExamplesContext.d.ts.map +0 -1
  150. package/dist/src/components/gherkin/ExamplesContext.js +0 -5
  151. package/dist/src/components/gherkin/ExamplesContext.js.map +0 -1
  152. package/dist/src/components/gherkin/ExamplesTable.d.ts +0 -4
  153. package/dist/src/components/gherkin/ExamplesTable.d.ts.map +0 -1
  154. package/dist/src/components/gherkin/ExamplesTable.js +0 -36
  155. package/dist/src/components/gherkin/ExamplesTable.js.map +0 -1
  156. package/dist/src/components/gherkin/ExamplesTable.module.scss +0 -15
  157. package/dist/src/components/gherkin/GherkinStep.d.ts +0 -4
  158. package/dist/src/components/gherkin/GherkinStep.d.ts.map +0 -1
  159. package/dist/src/components/gherkin/GherkinStep.js +0 -92
  160. package/dist/src/components/gherkin/GherkinStep.js.map +0 -1
  161. package/dist/src/components/gherkin/GherkinSteps.d.ts +0 -4
  162. package/dist/src/components/gherkin/GherkinSteps.d.ts.map +0 -1
  163. package/dist/src/components/gherkin/GherkinSteps.js +0 -15
  164. package/dist/src/components/gherkin/GherkinSteps.js.map +0 -1
  165. package/dist/src/components/gherkin/HookStep.d.ts +0 -4
  166. package/dist/src/components/gherkin/HookStep.d.ts.map +0 -1
  167. package/dist/src/components/gherkin/HookStep.js +0 -42
  168. package/dist/src/components/gherkin/HookStep.js.map +0 -1
  169. package/dist/src/components/gherkin/HookSteps.d.ts +0 -8
  170. package/dist/src/components/gherkin/HookSteps.d.ts.map +0 -1
  171. package/dist/src/components/gherkin/HookSteps.js +0 -7
  172. package/dist/src/components/gherkin/HookSteps.js.map +0 -1
  173. package/dist/src/components/gherkin/MDG.d.ts +0 -8
  174. package/dist/src/components/gherkin/MDG.d.ts.map +0 -1
  175. package/dist/src/components/gherkin/MDG.js +0 -80
  176. package/dist/src/components/gherkin/MDG.js.map +0 -1
  177. package/dist/src/components/gherkin/MDG.module.scss +0 -12
  178. package/dist/src/components/gherkin/StepItem.d.ts +0 -6
  179. package/dist/src/components/gherkin/StepItem.d.ts.map +0 -1
  180. package/dist/src/components/gherkin/StepItem.js +0 -9
  181. package/dist/src/components/gherkin/StepItem.js.map +0 -1
  182. package/dist/src/components/gherkin/StepItem.module.scss +0 -21
  183. /package/dist/src/components/app/{GherkinDocumentList.module.scss → DocumentAccordion.module.scss} +0 -0
@@ -0,0 +1,54 @@
1
+ import React from 'react';
2
+ import { useQueries } from '../../hooks/index.js';
3
+ import { composeHookStepTitle } from '../gherkin/composeHookStepTitle.js';
4
+ import { composePickleStepTitle } from '../gherkin/composePickleStepTitle.js';
5
+ import { DataTable, DocString, Keyword, Parameter, StatusIcon } from '../gherkin/index.js';
6
+ import { TestStepAttachments } from './TestStepAttachments.js';
7
+ import { TestStepDuration } from './TestStepDuration.js';
8
+ import styles from './TestStepOutcome.module.scss';
9
+ import { TestStepResultDetails } from './TestStepResultDetails.js';
10
+ export const TestStepOutcome = ({ testStep, testStepFinished }) => {
11
+ return (React.createElement("li", { "data-status": testStepFinished.testStepResult.status },
12
+ React.createElement("div", { className: styles.header },
13
+ React.createElement("div", { className: styles.status },
14
+ React.createElement(StatusIcon, { status: testStepFinished.testStepResult.status })),
15
+ React.createElement("div", { className: styles.title },
16
+ React.createElement("h3", { className: styles.name },
17
+ testStep.hookId && React.createElement(HookStepTitle, { testStep: testStep }),
18
+ testStep.pickleStepId && React.createElement(PickleStepTitle, { testStep: testStep })),
19
+ React.createElement(TestStepDuration, { duration: testStepFinished.testStepResult.duration }))),
20
+ React.createElement("div", { className: styles.content },
21
+ testStep.pickleStepId && React.createElement(PickleStepArgument, { testStep: testStep }),
22
+ React.createElement(TestStepResultDetails, { ...testStepFinished.testStepResult }),
23
+ React.createElement(TestStepAttachments, { testStepOrHookFinished: testStepFinished }))));
24
+ };
25
+ const HookStepTitle = ({ testStep }) => {
26
+ const { cucumberQuery } = useQueries();
27
+ const hook = cucumberQuery.findHookBy(testStep);
28
+ return React.createElement(React.Fragment, null, composeHookStepTitle(hook));
29
+ };
30
+ const PickleStepTitle = ({ testStep }) => {
31
+ const { cucumberQuery } = useQueries();
32
+ const pickleStep = cucumberQuery.findPickleStepBy(testStep);
33
+ const step = cucumberQuery.findStepBy(pickleStep);
34
+ return (React.createElement(React.Fragment, null,
35
+ React.createElement(Keyword, null, step.keyword.trim()),
36
+ composePickleStepTitle(pickleStep.text, testStep.stepMatchArgumentsLists).map((fragment, index) => {
37
+ if (fragment.parameterTypeName) {
38
+ return (React.createElement(Parameter, { key: index, parameterTypeName: fragment.parameterTypeName, value: fragment.value }, fragment.value));
39
+ }
40
+ return React.createElement("span", { key: index }, fragment.value);
41
+ })));
42
+ };
43
+ const PickleStepArgument = ({ testStep }) => {
44
+ const { cucumberQuery } = useQueries();
45
+ const pickleStep = cucumberQuery.findPickleStepBy(testStep);
46
+ if (pickleStep.argument?.docString) {
47
+ return React.createElement(DocString, { docString: pickleStep.argument.docString });
48
+ }
49
+ else if (pickleStep.argument?.dataTable) {
50
+ return React.createElement(DataTable, { dataTable: pickleStep.argument.dataTable });
51
+ }
52
+ return null;
53
+ };
54
+ //# sourceMappingURL=TestStepOutcome.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TestStepOutcome.js","sourceRoot":"","sources":["../../../../src/components/results/TestStepOutcome.tsx"],"names":[],"mappings":"AACA,OAAO,KAAa,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AAC7E,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,MAAM,MAAM,+BAA+B,CAAA;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAOlE,MAAM,CAAC,MAAM,eAAe,GAAc,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,2CAAiB,gBAAgB,CAAC,cAAc,CAAC,MAAM;QACrD,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM;YAC3B,6BAAK,SAAS,EAAE,MAAM,CAAC,MAAM;gBAC3B,oBAAC,UAAU,IAAC,MAAM,EAAE,gBAAgB,CAAC,cAAc,CAAC,MAAM,GAAI,CAC1D;YACN,6BAAK,SAAS,EAAE,MAAM,CAAC,KAAK;gBAC1B,4BAAI,SAAS,EAAE,MAAM,CAAC,IAAI;oBACvB,QAAQ,CAAC,MAAM,IAAI,oBAAC,aAAa,IAAC,QAAQ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AAE;gBAC9B,OAAO,CACL,oBAAC,SAAS,IACR,GAAG,EAAE,KAAK,EACV,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,EAC7C,KAAK,EAAE,QAAQ,CAAC,KAAK,IAEpB,QAAQ,CAAC,KAAK,CACL,CACb,CAAA;aACF;YACD,OAAO,8BAAM,GAAG,EAAE,KAAK,IAAG,QAAQ,CAAC,KAAK,CAAQ,CAAA;QAClD,CAAC,CACF,CACA,CACJ,CAAA;AACH,CAAC,CAAA;AAED,MAAM,kBAAkB,GAA+B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,EAAE,CAAA;IACtC,MAAM,UAAU,GAAG,aAAa,CAAC,gBAAgB,CAAC,QAAQ,CAAe,CAAA;IACzE,IAAI,UAAU,CAAC,QAAQ,EAAE,SAAS,EAAE;QAClC,OAAO,oBAAC,SAAS,IAAC,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,GAAI,CAAA;KAC/D;SAAM,IAAI,UAAU,CAAC,QAAQ,EAAE,SAAS,EAAE;QACzC,OAAO,oBAAC,SAAS,IAAC,SAAS,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,GAAI,CAAA;KAC/D;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA"}
@@ -0,0 +1,36 @@
1
+ .header {
2
+ display: flex;
3
+ width: 100%;
4
+ gap: 0.25rem;
5
+ }
6
+
7
+ .status {
8
+ padding-top: 0.1em;
9
+ }
10
+
11
+ .title {
12
+ > * {
13
+ vertical-align: middle;
14
+
15
+ & + * {
16
+ margin-left: 0.5em;
17
+ }
18
+ }
19
+ }
20
+
21
+ .name {
22
+ font-size: 1em;
23
+ display: inline;
24
+ font-weight: normal;
25
+ padding: 0;
26
+ margin: 0;
27
+ }
28
+
29
+ .content {
30
+ margin-left: 1.125rem;
31
+
32
+ // bits of detail (doc string, data table, error, attachments) get consistent spacing between them
33
+ > * {
34
+ margin-top: 0.25rem !important;
35
+ }
36
+ }
@@ -1,2 +1,3 @@
1
+ export * from './TestCaseOutcome.js';
1
2
  export * from './TestStepResultDetails.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/results/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/results/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA"}
@@ -1,2 +1,3 @@
1
+ export * from './TestCaseOutcome.js';
1
2
  export * from './TestStepResultDetails.js';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/results/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/results/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function formatPassedQuantity(passed: number, total: number): string;
2
+ //# sourceMappingURL=formatPassedQuantity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatPassedQuantity.d.ts","sourceRoot":"","sources":["../../src/formatPassedQuantity.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAEjE"}
@@ -0,0 +1,4 @@
1
+ export function formatPassedQuantity(passed, total) {
2
+ return `(${passed} / ${total})`;
3
+ }
4
+ //# sourceMappingURL=formatPassedQuantity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatPassedQuantity.js","sourceRoot":"","sources":["../../src/formatPassedQuantity.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,oBAAoB,CAAC,MAAc,EAAE,KAAa;IAChE,OAAO,IAAI,MAAM,MAAM,KAAK,GAAG,CAAA;AACjC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function ensure<T>(value: T | undefined, message: string): T;
2
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/hooks/helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,CAKlE"}
@@ -0,0 +1,7 @@
1
+ export function ensure(value, message) {
2
+ if (!value) {
3
+ throw new Error(message);
4
+ }
5
+ return value;
6
+ }
7
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../src/hooks/helpers.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,MAAM,CAAI,KAAoB,EAAE,OAAe;IAC7D,IAAI,CAAC,KAAK,EAAE;QACV,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAA;KACzB;IACD,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -1,3 +1,6 @@
1
1
  import { GherkinDocument } from '@cucumber/messages';
2
- export declare function useFilteredDocuments(): GherkinDocument[] | undefined;
2
+ export declare function useFilteredDocuments(): {
3
+ results: GherkinDocument[] | undefined;
4
+ filtered: boolean;
5
+ };
3
6
  //# sourceMappingURL=useFilteredDocuments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFilteredDocuments.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFilteredDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AASpD,wBAAgB,oBAAoB,IAAI,eAAe,EAAE,GAAG,SAAS,CA6BpE"}
1
+ {"version":3,"file":"useFilteredDocuments.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFilteredDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AASpD,wBAAgB,oBAAoB,IAAI;IACtC,OAAO,EAAE,eAAe,EAAE,GAAG,SAAS,CAAA;IACtC,QAAQ,EAAE,OAAO,CAAA;CAClB,CAiCA"}
@@ -5,7 +5,7 @@ import statuses from '../statuses.js';
5
5
  import { useQueries } from './useQueries.js';
6
6
  import { useSearch } from './useSearch.js';
7
7
  export function useFilteredDocuments() {
8
- const { query, hideStatuses } = useSearch();
8
+ const { query, hideStatuses, unchanged } = useSearch();
9
9
  const { gherkinQuery, cucumberQuery } = useQueries();
10
10
  const [searchable, setSearchable] = useState();
11
11
  const [results, setResults] = useState();
@@ -21,9 +21,13 @@ export function useFilteredDocuments() {
21
21
  const filtered = searched
22
22
  .map((document) => filterByStatus(document, gherkinQuery, cucumberQuery, statuses.filter((s) => !hideStatuses.includes(s))))
23
23
  .filter((document) => document !== null);
24
+ filtered.sort((a, b) => (a.uri || '').localeCompare(b.uri || ''));
24
25
  setResults(filtered);
25
26
  });
26
27
  }, [query, hideStatuses, gherkinQuery, cucumberQuery, searchable]);
27
- return results;
28
+ return {
29
+ results,
30
+ filtered: !unchanged,
31
+ };
28
32
  }
29
33
  //# sourceMappingURL=useFilteredDocuments.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFilteredDocuments.js","sourceRoot":"","sources":["../../../src/hooks/useFilteredDocuments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,YAAY,EAAc,MAAM,oBAAoB,CAAA;AAC7D,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,MAA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AQ,GAAG,QAAQ;iBACtB,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAChB,cAAc,CACZ,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAClD,CACF;iBACA,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,IAAI,CAAsB,CAAA;YAC/D,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,CAAA;YACjE,UAAU,CAAC,QAAQ,CAAC,CAAA;QACtB,CAAC,CACF,CAAA;IACH,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,CAAC,CAAC,CAAA;IAClE,OAAO;QACL,OAAO;QACP,QAAQ,EAAE,CAAC,SAAS;KACrB,CAAA;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TestStepResultStatus } from '@cucumber/messages';
2
+ export declare function useMostSevereStatusByUri(): Map<string, TestStepResultStatus>;
3
+ //# sourceMappingURL=useMostSevereStatusByUri.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMostSevereStatusByUri.d.ts","sourceRoot":"","sources":["../../../src/hooks/useMostSevereStatusByUri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAOzD,wBAAgB,wBAAwB,IAAI,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAkB5E"}
@@ -0,0 +1,25 @@
1
+ import { TestStepResultStatus } from '@cucumber/messages';
2
+ import { SetMultimap } from '@teppeis/multimaps';
3
+ import { useMemo } from 'react';
4
+ import { findMostSevereTestStepResultStatus } from '../components/app/findMostSevereTestStepResultStatus.js';
5
+ import { useQueries } from './useQueries.js';
6
+ export function useMostSevereStatusByUri() {
7
+ const { cucumberQuery } = useQueries();
8
+ return useMemo(() => {
9
+ const allByUri = new SetMultimap();
10
+ for (const testCaseStarted of cucumberQuery.findAllTestCaseStarted()) {
11
+ const result = cucumberQuery.findMostSevereTestStepResultBy(testCaseStarted);
12
+ const status = result ? result.status : TestStepResultStatus.UNKNOWN;
13
+ const pickle = cucumberQuery.findPickleBy(testCaseStarted);
14
+ if (pickle?.uri) {
15
+ allByUri.put(pickle.uri, status);
16
+ }
17
+ }
18
+ const mostSevereByUri = new Map();
19
+ for (const key of allByUri.keys()) {
20
+ mostSevereByUri.set(key, findMostSevereTestStepResultStatus(allByUri.get(key)));
21
+ }
22
+ return mostSevereByUri;
23
+ }, [cucumberQuery]);
24
+ }
25
+ //# sourceMappingURL=useMostSevereStatusByUri.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMostSevereStatusByUri.js","sourceRoot":"","sources":["../../../src/hooks/useMostSevereStatusByUri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,yDAAyD,CAAA;AAC5G,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,MAAM,UAAU,wBAAwB;IACtC,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,EAAE,CAAA;IACtC,OAAO,OAAO,CAAC,GAAG,EAAE;QAClB,MAAM,QAAQ,GAAG,IAAI,WAAW,EAAgC,CAAA;QAChE,KAAK,MAAM,eAAe,IAAI,aAAa,CAAC,sBAAsB,EAAE,EAAE;YACpE,MAAM,MAAM,GAAG,aAAa,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAA;YAC5E,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,OAAO,CAAA;YACpE,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,eAAe,CAAC,CAAA;YAC1D,IAAI,MAAM,EAAE,GAAG,EAAE;gBACf,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAA;aACjC;SACF;QACD,MAAM,eAAe,GAAG,IAAI,GAAG,EAAgC,CAAA;QAC/D,KAAK,MAAM,GAAG,IAAI,QAAQ,CAAC,IAAI,EAAE,EAAE;YACjC,eAAe,CAAC,GAAG,CAAC,GAAG,EAAE,kCAAkC,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;SAChF;QACD,OAAO,eAAe,CAAA;IACxB,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAA;AACrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TestCaseStarted } from '@cucumber/messages';
2
+ export declare function useTestCaseStarted(nodeId: string): TestCaseStarted | undefined;
3
+ //# sourceMappingURL=useTestCaseStarted.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTestCaseStarted.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTestCaseStarted.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAKpD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAa9E"}
@@ -0,0 +1,17 @@
1
+ import { useMemo } from 'react';
2
+ import { useQueries } from './useQueries.js';
3
+ export function useTestCaseStarted(nodeId) {
4
+ const { cucumberQuery } = useQueries();
5
+ const mapped = useMemo(() => {
6
+ return cucumberQuery.findAllTestCaseStarted().reduce((prev, testCaseStarted) => {
7
+ const lineage = cucumberQuery.findLineageBy(testCaseStarted);
8
+ const closestNodeId = lineage?.example?.id ?? lineage?.scenario?.id;
9
+ if (closestNodeId) {
10
+ prev.set(closestNodeId, testCaseStarted);
11
+ }
12
+ return prev;
13
+ }, new Map());
14
+ }, [cucumberQuery]);
15
+ return mapped.get(nodeId);
16
+ }
17
+ //# sourceMappingURL=useTestCaseStarted.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTestCaseStarted.js","sourceRoot":"","sources":["../../../src/hooks/useTestCaseStarted.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,MAAM,UAAU,kBAAkB,CAAC,MAAc;IAC/C,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,EAAE,CAAA;IACtC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,OAAO,aAAa,CAAC,sBAAsB,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE;YAC7E,MAAM,OAAO,GAAG,aAAa,CAAC,aAAa,CAAC,eAAe,CAAC,CAAA;YAC5D,MAAM,aAAa,GAAG,OAAO,EAAE,OAAO,EAAE,EAAE,IAAI,OAAO,EAAE,QAAQ,EAAE,EAAE,CAAA;YACnE,IAAI,aAAa,EAAE;gBACjB,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,eAAe,CAAC,CAAA;aACzC;YACD,OAAO,IAAI,CAAA;QACb,CAAC,EAAE,IAAI,GAAG,EAA2B,CAAC,CAAA;IACxC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAA;IACnB,OAAO,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAC3B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Hook, TestRunHookFinished } from '@cucumber/messages';
2
+ type RunHooksList = {
3
+ testRunHookFinished: TestRunHookFinished;
4
+ hook: Hook;
5
+ }[];
6
+ export declare function useTestRunHooks(): RunHooksList;
7
+ export {};
8
+ //# sourceMappingURL=useTestRunHooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTestRunHooks.d.ts","sourceRoot":"","sources":["../../../src/hooks/useTestRunHooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAK9D,KAAK,YAAY,GAAG;IAAE,mBAAmB,EAAE,mBAAmB,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,EAAE,CAAA;AAE9E,wBAAgB,eAAe,IAAI,YAAY,CAgB9C"}
@@ -0,0 +1,14 @@
1
+ import { ensure } from './helpers.js';
2
+ import { useQueries } from './useQueries.js';
3
+ export function useTestRunHooks() {
4
+ const { cucumberQuery } = useQueries();
5
+ const testRunHooksFinished = cucumberQuery.findAllTestRunHookFinished();
6
+ return testRunHooksFinished.map((testRunHookFinished) => {
7
+ const hook = ensure(cucumberQuery.findHookBy(testRunHookFinished), 'Expected testRunHookFinished to resolve with a hook');
8
+ return {
9
+ testRunHookFinished,
10
+ hook,
11
+ };
12
+ });
13
+ }
14
+ //# sourceMappingURL=useTestRunHooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTestRunHooks.js","sourceRoot":"","sources":["../../../src/hooks/useTestRunHooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAI5C,MAAM,UAAU,eAAe;IAC7B,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,EAAE,CAAA;IACtC,MAAM,oBAAoB,GACxB,aAAa,CAAC,0BAA0B,EAAE,CAAA;IAE5C,OAAO,oBAAoB,CAAC,GAAG,CAAC,CAAC,mBAAmB,EAAE,EAAE;QACtD,MAAM,IAAI,GAAG,MAAM,CACjB,aAAa,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAC7C,qDAAqD,CACtD,CAAA;QAED,OAAO;YACL,mBAAmB;YACnB,IAAI;SACL,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC"}
@@ -1,4 +1,3 @@
1
1
  export * from './components/index.js';
2
- export * as filterByStatus from './filter/filterByStatus.js';
3
2
  export * from './hooks/index.js';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,cAAc,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}
package/dist/src/index.js CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from './components/index.js';
2
- export * as filterByStatus from './filter/filterByStatus.js';
3
2
  export * from './hooks/index.js';
4
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAA;AAC5D,cAAc,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}
@@ -1,5 +1,6 @@
1
1
  $anchorColor: var(--cucumber-anchor-color, oklch(62.3% 0.214 259.815)); // blue-500
2
2
  $keywordColor: var(--cucumber-keyword-color, oklch(37.9% 0.146 265.522)); // blue-900
3
+ $exampleNumberColor: var(--cucumber-code-text-color, oklch(55.4% 0.046 257.417)); // slate-500
3
4
  $parameterColor: var(--cucumber-parameter-color, oklch(62.3% 0.214 259.815)); // blue-500
4
5
  $tagColor: var(--cucumber-tag-color, oklch(68.1% 0.162 75.834)); // yellow-600
5
6
  $docstringColor: var(--cucumber-docstring-color, oklch(51.1% 0.096 186.391)); // teal-700