-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
85 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
import XrayCloudResponseV2 from "./xray-cloud-response-v2"; | ||
import { ReportConfig, XraySettings } from "./index"; | ||
export declare class XrayCloudClient { | ||
clientId?: string; | ||
clientSecret?: string; | ||
timeout?: number; | ||
supportedFormats: string[]; | ||
constructor(xraySettings: XraySettings); | ||
submitResults(reportPath: string, config: ReportConfig): Promise<XrayCloudResponseV2>; | ||
submitResultsMultipart(reportPath: string, config: ReportConfig): Promise<XrayCloudResponseV2>; | ||
authenticate(): Promise<any>; | ||
associateTestExecutionToTestPlanByIds(testExecIssueId: string, testPlanIssueId: string): Promise<any>; | ||
getTestPlanId(testPlanIssueKey: string): Promise<any>; | ||
clientId?: string; | ||
clientSecret?: string; | ||
timeout?: number; | ||
supportedFormats: string[]; | ||
constructor(xraySettings: XraySettings); | ||
submitResults( | ||
reportPath: string, | ||
config: ReportConfig | ||
): Promise<XrayCloudResponseV2>; | ||
submitResultsMultipart( | ||
reportPath: string, | ||
config: ReportConfig | ||
): Promise<XrayCloudResponseV2>; | ||
authenticate(): Promise<any>; | ||
associateTestExecutionToTestPlanByIds( | ||
testExecIssueId: string, | ||
testPlanIssueId: string | ||
): Promise<any>; | ||
getTestPlanId(testPlanIssueKey: string): Promise<any>; | ||
} | ||
export default XrayCloudClient; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export declare class XrayCloudGraphQLErrorResponse { | ||
error: string; | ||
errorMessages: string[]; | ||
constructor(error: string, errorMessages: string[]); | ||
error: string; | ||
errorMessages: string[]; | ||
constructor(error: string, errorMessages: string[]); | ||
} | ||
export default XrayCloudGraphQLErrorResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export declare class XrayCloudGraphQLResponseV2 { | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
} | ||
export default XrayCloudGraphQLResponseV2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export declare class XrayCloudResponseV2 { | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
} | ||
export default XrayCloudResponseV2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export declare class XrayDatacenterResponseV1 { | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
} | ||
export default XrayDatacenterResponseV1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export declare class XrayDatacenterResponseV2 { | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
id?: string; | ||
key?: string; | ||
_response: string; | ||
selfUrl?: string; | ||
constructor(response: any); | ||
} | ||
export default XrayDatacenterResponseV2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export declare class XrayErrorResponse { | ||
_response: string; | ||
statusCode?: string; | ||
body?: string; | ||
constructor(response: any); | ||
toString(): string; | ||
_response: string; | ||
statusCode?: string; | ||
body?: string; | ||
constructor(response: any); | ||
toString(): string; | ||
} | ||
export default XrayErrorResponse; |
8bb6c11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
Test suite run success
160 tests passing in 2 suites.
Report generated by 🧪jest coverage report action from 8bb6c11
8bb6c11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
Test suite run success
160 tests passing in 2 suites.
Report generated by 🧪jest coverage report action from 8bb6c11
8bb6c11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
Test suite run success
160 tests passing in 2 suites.
Report generated by 🧪jest coverage report action from 8bb6c11