@auxcode/auxta 1.3.45-beta.2 → 1.3.45-beta.4

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.
@@ -17,7 +17,7 @@ export interface Steps {
17
17
  }
18
18
  export declare function createEmptyReport(body: any): Promise<string>;
19
19
  export declare function uploadStep(stepLog: Step[], scenarioName: string, screenshot?: Buffer, errMessage?: object): Promise<{
20
- scenarioRef: any;
20
+ stepRef: any;
21
21
  name: any;
22
22
  status: any;
23
23
  stepsCount: any;
@@ -83,7 +83,7 @@ function uploadStep(stepLog, scenarioName, screenshot, errMessage) {
83
83
  }
84
84
  }, headers(token))).data.scenarios;
85
85
  scenarios.push({
86
- scenarioRef: output.scenarioRef,
86
+ stepRef: output.stepRef,
87
87
  name: output.name,
88
88
  status: output.status,
89
89
  stepsCount: output.stepsCount
@@ -95,7 +95,7 @@ exports.uploadStep = uploadStep;
95
95
  function uploadScenario(stepRes, scenarioName, uri, hasFailed) {
96
96
  return __awaiter(this, void 0, void 0, function* () {
97
97
  let token = yield auth();
98
- return (yield axios_1.default.post(config_1.config.auxtaURL + "create-feature", {
98
+ return (yield axios_1.default.post(config_1.config.auxtaURL + "create-scenario", {
99
99
  json: {
100
100
  name: scenarioName,
101
101
  uri: uri
@@ -17,7 +17,7 @@ export interface Steps {
17
17
  }
18
18
  export declare function createEmptyReport(body: any): Promise<string>;
19
19
  export declare function uploadStep(stepLog: Step[], scenarioName: string, screenshot?: Buffer, errMessage?: object): Promise<{
20
- scenarioRef: any;
20
+ stepRef: any;
21
21
  name: any;
22
22
  status: any;
23
23
  stepsCount: any;
@@ -76,7 +76,7 @@ export function uploadStep(stepLog, scenarioName, screenshot, errMessage) {
76
76
  }
77
77
  }, headers(token))).data.scenarios;
78
78
  scenarios.push({
79
- scenarioRef: output.scenarioRef,
79
+ stepRef: output.stepRef,
80
80
  name: output.name,
81
81
  status: output.status,
82
82
  stepsCount: output.stepsCount
@@ -87,7 +87,7 @@ export function uploadStep(stepLog, scenarioName, screenshot, errMessage) {
87
87
  export function uploadScenario(stepRes, scenarioName, uri, hasFailed) {
88
88
  return __awaiter(this, void 0, void 0, function* () {
89
89
  let token = yield auth();
90
- return (yield axios.post(config.auxtaURL + "create-feature", {
90
+ return (yield axios.post(config.auxtaURL + "create-scenario", {
91
91
  json: {
92
92
  name: scenarioName,
93
93
  uri: uri