Hey @emarf
Just noticed this now, would you mind looking into this build issue?
https://github.com/ryanrosello-og/zebrunner-playwright-agent/runs/4901403751?check_suite_focus=true
/opt/hostedtoolcache/node/16.13.1/x64/bin/node /home/runner/work/zebrunner-playwright-agent/zebrunner-playwright-agent/node_modules/typescript/bin/tsc --noEmit --noErrorTruncation --pretty false --incremental false --project ./tsconfig.json
Error: src/lib/ResultsParser.ts(182,26): error TS234[5](https://github.com/ryanrosello-og/zebrunner-playwright-agent/runs/4901403751?check_suite_focus=true#step:5:5): Argument of type '{ suiteName: any; name: string; tags: any; status: "PASSED" | "FAILED" | "ABORTED" | "SKIPPED"; retry: any; startedAt: Date; endedAt: Date; reason: string; attachment: { video: any[]; files: any[]; screenshots: any[]; }; steps: testStep[]; maintainer: any; }' is not assignable to parameter of type 'testResult'.
Property 'browserCapabilities' is missing in type '{ suiteName: any; name: string; tags: any; status: "PASSED" | "FAILED" | "ABORTED" | "SKIPPED"; retry: any; startedAt: Date; endedAt: Date; reason: string; attachment: { video: any[]; files: any[]; screenshots: any[]; }; steps: testStep[]; maintainer: any; }' but required in type 'testResult'.
Error: src/lib/utils.ts(215,3): error TS2322: Type '{ xray: { executionKey: { key: string; value: string; }; disableSync: { key: string; value: boolean; }; enableRealTimeSync: { key: string; value: boolean; }; } | { executionKey?: undefined; disableSync?: undefined; enableRealTimeSync?: undefined; }; testRail: { suiteId: { key: string; value: string; }; runId: { key: string; value: string; }; runName: { key: string; value: string; }; milestone: { key: string; value: string; }; assignee: { key: string; value: string; }; enableSync: { key: string; value: boolean; }; includeAllTestCasesInNewRun: { key: string; value: boolean; }; enableRealTimeSync: { key: string; value: boolean; }; } | { suiteId?: undefined; runId?: undefined; runName?: undefined; milestone?: undefined; assignee?: undefined; enableSync?: undefined; includeAllTestCasesInNewRun?: undefined; enableRealTimeSync?: undefined; }; zephyr: { testCycleKey: { key: string; value: string; }; jiraProjectKey: { key: string; value: string; }; enableSync: { key: string; value: boolean; }; enableRealTimeSync: { key: string; value: boolean; }; } | { testCycleKey?: undefined; jiraProjectKey?: undefined; enableSync?: undefined; enableRealTimeSync?: undefined; }; }' is not assignable to type 'TcmConfig'.
Types of property 'xray' are incompatible.
Type '{ executionKey: { key: string; value: string; }; disableSync: { key: string; value: boolean; }; enableRealTimeSync: { key: string; value: boolean; }; } | { executionKey?: undefined; disableSync?: undefined; enableRealTimeSync?: undefined; }' is not assignable to type '{ executionKey: { key: string; value: string; }; disableSync: { key: string; value: boolean; }; enableRealTimeSync: { key: string; value: boolean; }; }'.
Type '{ executionKey?: undefined; disableSync?: undefined; enableRealTimeSync?: undefined; }' is not assignable to type '{ executionKey: { key: string; value: string; }; disableSync: { key: string; value: boolean; }; enableRealTimeSync: { key: string; value: boolean; }; }'.
Property 'executionKey' is optional in type '{ executionKey?: undefined; disableSync?: undefined; enableRealTimeSync?: undefined; }' but required in type '{ executionKey: { key: string; value: string; }; disableSync: { key: string; value: boolean; }; enableRealTimeSync: { key: string; value: boolean; }; }'.
Cheers
Hey @emarf
Just noticed this now, would you mind looking into this build issue?
https://github.com/ryanrosello-og/zebrunner-playwright-agent/runs/4901403751?check_suite_focus=true
Cheers