@testomatio/reporter 1.6.17-beta.2-tls-fix → 1.6.17

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 (52) hide show
  1. package/lib/adapter/webdriver.js +2 -0
  2. package/lib/pipe/testomatio.js +8 -8
  3. package/lib/uploader.js +9 -4
  4. package/package.json +1 -1
  5. package/lib/adapter/codecept.d.ts +0 -2
  6. package/lib/adapter/cucumber/current.d.ts +0 -14
  7. package/lib/adapter/cucumber/legacy.d.ts +0 -0
  8. package/lib/adapter/cucumber.d.ts +0 -2
  9. package/lib/adapter/cypress-plugin/index.d.ts +0 -2
  10. package/lib/adapter/jasmine.d.ts +0 -11
  11. package/lib/adapter/jest.d.ts +0 -13
  12. package/lib/adapter/mocha.d.ts +0 -2
  13. package/lib/adapter/nightwatch.d.ts +0 -4
  14. package/lib/adapter/nightwatch.js +0 -75
  15. package/lib/adapter/playwright.d.ts +0 -14
  16. package/lib/adapter/vitest.d.ts +0 -35
  17. package/lib/adapter/webdriver.d.ts +0 -24
  18. package/lib/bin/cli.d.ts +0 -2
  19. package/lib/bin/reportXml.d.ts +0 -2
  20. package/lib/bin/startTest.d.ts +0 -2
  21. package/lib/bin/uploadArtifacts.d.ts +0 -2
  22. package/lib/client.d.ts +0 -76
  23. package/lib/config.d.ts +0 -1
  24. package/lib/constants.d.ts +0 -25
  25. package/lib/data-storage.d.ts +0 -34
  26. package/lib/junit-adapter/adapter.d.ts +0 -9
  27. package/lib/junit-adapter/csharp.d.ts +0 -5
  28. package/lib/junit-adapter/index.d.ts +0 -3
  29. package/lib/junit-adapter/java.d.ts +0 -5
  30. package/lib/junit-adapter/javascript.d.ts +0 -4
  31. package/lib/junit-adapter/python.d.ts +0 -5
  32. package/lib/junit-adapter/ruby.d.ts +0 -4
  33. package/lib/output.d.ts +0 -11
  34. package/lib/package.json +0 -3
  35. package/lib/pipe/bitbucket.d.ts +0 -23
  36. package/lib/pipe/csv.d.ts +0 -47
  37. package/lib/pipe/debug.d.ts +0 -29
  38. package/lib/pipe/github.d.ts +0 -30
  39. package/lib/pipe/gitlab.d.ts +0 -23
  40. package/lib/pipe/html.d.ts +0 -35
  41. package/lib/pipe/index.d.ts +0 -1
  42. package/lib/pipe/testomatio.d.ts +0 -70
  43. package/lib/reporter-functions.d.ts +0 -34
  44. package/lib/reporter.d.ts +0 -232
  45. package/lib/services/artifacts.d.ts +0 -33
  46. package/lib/services/index.d.ts +0 -9
  47. package/lib/services/key-values.d.ts +0 -27
  48. package/lib/services/logger.d.ts +0 -64
  49. package/lib/uploader.d.ts +0 -60
  50. package/lib/utils/pipe_utils.d.ts +0 -41
  51. package/lib/utils/utils.d.ts +0 -45
  52. package/lib/xmlReader.d.ts +0 -92
@@ -1,41 +0,0 @@
1
- /**
2
- * Update and validate the filter type.
3
- * @param {string} type - The original filter type.
4
- * @returns {string|undefined} The updated and validated filter type.
5
- * Returns undefined if the type is not valid.
6
- */
7
- export function updateFilterType(type: string): string | undefined;
8
- /**
9
- * Parse filter parameters from a string in the format "type=id".
10
- * @param {string} opts - The input string containing the filter parameters.
11
- * @returns {Object} An object containing the parsed filter parameters.
12
- * The object has properties "type" and "id".
13
- */
14
- export function parseFilterParams(opts: string): any;
15
- /**
16
- * Generates mode request parameters based on the input params.
17
- * @param {{type: string, id?: string, apiKey: string}} params - The input parameters for the request.
18
- * @returns {Object|null} - An object containing the generated request parameters, or null if the type is invalid.
19
- */
20
- export function generateFilterRequestParams(params: {
21
- type: string;
22
- id?: string;
23
- apiKey: string;
24
- }): any | null;
25
- /**
26
- * Set S3 credentials from the provided artifacts object.
27
- * @param {Object} artifacts - The artifacts object containing S3 credentials.
28
- */
29
- export function setS3Credentials(artifacts: any): void;
30
- /**
31
- * Return an emoji based on the provided status.
32
- * @param {string} status - The status value ('passed', 'failed', or 'skipped').
33
- * @returns {string} - An emoji corresponding to the provided status.
34
- */
35
- export function statusEmoji(status: string): string;
36
- /**
37
- * Generate a full name string based on the provided test object.
38
- * @param {object} t - The test object.
39
- * @returns {string} - A formatted full name string for the test object.
40
- */
41
- export function fullName(t: object): string;
@@ -1,45 +0,0 @@
1
- export function ansiRegExp(): RegExp;
2
- export function isSameTest(test: any, t: any): boolean;
3
- export function fetchSourceCode(contents: any, opts?: {}): string;
4
- export function fetchSourceCodeFromStackTrace(stack?: string): string;
5
- export function fetchIdFromCode(code: any, opts?: {}): any;
6
- export function fetchIdFromOutput(output: any): any;
7
- export function fetchFilesFromStackTrace(stack?: string): string[];
8
- export namespace fileSystem {
9
- function createDir(dirPath: any): void;
10
- function clearDir(dirPath: any): void;
11
- }
12
- export function foundedTestLog(app: any, tests: any): void;
13
- export function formatStep(step: any, shift?: number): any;
14
- export function getCurrentDateTime(): string;
15
- /**
16
- * @param {String} testTitle - Test title
17
- *
18
- * @returns {String|null} testId
19
- */
20
- export function getTestomatIdFromTestTitle(testTitle: string): string | null;
21
- export function humanize(text: any): any;
22
- export function isValidUrl(s: any): boolean;
23
- /**
24
- * @param {String} suiteTitle - suite title
25
- *
26
- * @returns {String|null} suiteId
27
- */
28
- export function parseSuite(suiteTitle: string): string | null;
29
- export function readLatestRunId(): string;
30
- /**
31
- * Used to remove color codes
32
- * @param {*} input
33
- * @returns
34
- */
35
- export function removeColorCodes(input: any): any;
36
- /**
37
- * @param {Object} test - Test adapter object
38
- *
39
- * @returns {String|null} testInfo as one string
40
- */
41
- export function specificTestInfo(test: any): string | null;
42
- export function storeRunId(runId: any): void;
43
- export namespace testRunnerHelper {
44
- function getNameOfCurrentlyRunningTest(): any;
45
- }
@@ -1,92 +0,0 @@
1
- export default XmlReader;
2
- declare class XmlReader {
3
- constructor(opts?: {});
4
- requestParams: {
5
- apiKey: any;
6
- url: any;
7
- title: string;
8
- env: string;
9
- group_title: string;
10
- detach: string;
11
- isBatchEnabled: boolean;
12
- };
13
- runId: any;
14
- adapter: import("./junit-adapter/adapter.js").default;
15
- opts: {};
16
- store: {};
17
- pipesPromise: Promise<any[]>;
18
- parser: XMLParser;
19
- tests: any[];
20
- stats: {};
21
- uploader: S3Uploader;
22
- version: any;
23
- connectAdapter(): import("./junit-adapter/adapter.js").default;
24
- parse(fileName: any): {
25
- status: string;
26
- create_tests: boolean;
27
- tests_count: number;
28
- passed_count: number;
29
- skipped_count: number;
30
- failed_count: number;
31
- tests: any;
32
- } | {
33
- status: any;
34
- create_tests: boolean;
35
- tests_count: number;
36
- passed_count: number;
37
- failed_count: number;
38
- skipped_count: number;
39
- tests: any[];
40
- };
41
- processJUnit(jsonSuite: any): {
42
- create_tests: boolean;
43
- duration: number;
44
- failed_count: number;
45
- name: any;
46
- passed_count: number;
47
- skipped_count: number;
48
- status: string;
49
- tests: any[];
50
- tests_count: number;
51
- };
52
- processNUnit(jsonSuite: any): {
53
- status: any;
54
- create_tests: boolean;
55
- tests_count: number;
56
- passed_count: number;
57
- failed_count: number;
58
- skipped_count: number;
59
- tests: any[];
60
- };
61
- processTRX(jsonSuite: any): {
62
- status: string;
63
- create_tests: boolean;
64
- tests_count: number;
65
- passed_count: number;
66
- skipped_count: number;
67
- failed_count: number;
68
- tests: any;
69
- };
70
- processXUnit(assemblies: any): {
71
- status: string;
72
- create_tests: boolean;
73
- name: string;
74
- tests_count: number;
75
- passed_count: number;
76
- failed_count: number;
77
- skipped_count: number;
78
- tests: any[];
79
- };
80
- calculateStats(): {};
81
- fetchSourceCode(): void;
82
- formatTests(): void;
83
- formatErrors(): void;
84
- formatStack(t: any): any;
85
- uploadArtifacts(): Promise<void>;
86
- createRun(): Promise<any[]>;
87
- pipes: any;
88
- uploadData(): Promise<any[]>;
89
- _finishRun(): Promise<any[]>;
90
- }
91
- import { XMLParser } from 'fast-xml-parser';
92
- import { S3Uploader } from './uploader.js';