@auxcode/auxta 1.3.42 → 1.3.44-beta.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.
@@ -32,7 +32,8 @@ function onTestEnd(body, featureName, scenarioName, statusCode, screenshotBuffer
32
32
  featureName: featureRes.name,
33
33
  featureUri: featureRes.uri,
34
34
  status: featureRes.status,
35
- scenariosCount: featureRes.scenariosCount
35
+ scenariosCount: featureRes.scenariosCount,
36
+ lastFiveStepsHash: featureRes.lastFiveStepsHash
36
37
  };
37
38
  const stepCounts = {
38
39
  failedSteps: log_service_1.default.getStatusCount(status_of_step_1.StatusOfStep.FAILED),
@@ -7,13 +7,7 @@ export interface Feature {
7
7
  featureUri: string;
8
8
  status: string;
9
9
  scenariosCount: number;
10
- }
11
- export interface Scenario {
12
- featureId: string;
13
- featureName: string;
14
- featureUri: string;
15
- status: string;
16
- scenariosCount: number;
10
+ lastFiveStepsHash: number;
17
11
  }
18
12
  export interface Steps {
19
13
  failedSteps: number;
@@ -117,7 +117,8 @@ function updateReport(reportId, feature, steps, isFinal) {
117
117
  name: feature.featureName,
118
118
  uri: feature.featureUri,
119
119
  status: feature.status,
120
- scenariosCount: feature.scenariosCount
120
+ scenariosCount: feature.scenariosCount,
121
+ lastFiveStepsHash: feature.lastFiveStepsHash
121
122
  } }, steps)
122
123
  }, headers(token));
123
124
  });
@@ -26,7 +26,8 @@ export function onTestEnd(body, featureName, scenarioName, statusCode, screensho
26
26
  featureName: featureRes.name,
27
27
  featureUri: featureRes.uri,
28
28
  status: featureRes.status,
29
- scenariosCount: featureRes.scenariosCount
29
+ scenariosCount: featureRes.scenariosCount,
30
+ lastFiveStepsHash: featureRes.lastFiveStepsHash
30
31
  };
31
32
  const stepCounts = {
32
33
  failedSteps: log.getStatusCount(StatusOfStep.FAILED),
@@ -7,13 +7,7 @@ export interface Feature {
7
7
  featureUri: string;
8
8
  status: string;
9
9
  scenariosCount: number;
10
- }
11
- export interface Scenario {
12
- featureId: string;
13
- featureName: string;
14
- featureUri: string;
15
- status: string;
16
- scenariosCount: number;
10
+ lastFiveStepsHash: number;
17
11
  }
18
12
  export interface Steps {
19
13
  failedSteps: number;
@@ -108,7 +108,8 @@ export function updateReport(reportId, feature, steps, isFinal) {
108
108
  name: feature.featureName,
109
109
  uri: feature.featureUri,
110
110
  status: feature.status,
111
- scenariosCount: feature.scenariosCount
111
+ scenariosCount: feature.scenariosCount,
112
+ lastFiveStepsHash: feature.lastFiveStepsHash
112
113
  } }, steps)
113
114
  }, headers(token));
114
115
  });