Conversation
# Conflicts: # src/reporter-object-factory.ts # src/types/testcafe.ts
# Conflicts: # package-lock.json # package.json
src/types/report-warnings-args.ts
Outdated
) | ||
); | ||
|
||
export type ReportWarningsArgs = t.TypeOf<typeof ReportWarningsSchema>; |
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.
export type ReportWarningsArgs = t.TypeOf<typeof ReportWarningsSchema>; | |
export type ReportWarningArgs = t.TypeOf<typeof ReportWarningsSchema>; |
src/report-commands-factory.ts
Outdated
@@ -1,6 +1,7 @@ | |||
import { AggregateCommandType, AggregateNames } from './types/internal/'; | |||
import { TaskStartArgs, TestStartArgs, TestDoneArgs, TaskDoneArgs } from './types/'; | |||
import { TaskStartArgs, TestStartArgs, TaskDoneArgs, TestDoneArgs } from './types/'; |
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.
import { TaskStartArgs, TestStartArgs, TaskDoneArgs, TestDoneArgs } from './types/'; | |
import { TaskStartArgs, TestStartArgs, TaskDoneArgs, TestDoneArgs, ReportWarningsArgs } from './types'; |
src/report-commands-factory.ts
Outdated
import Transport from './transport'; | ||
import { ReportWarningsArgs } from './types/report-warnings-args'; |
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.
import { ReportWarningsArgs } from './types/report-warnings-args'; |
src/texts.ts
Outdated
@@ -18,6 +18,9 @@ export const createFileUploadError = (uploadId: string, filePath: string): strin | |||
export const createTestUploadError = (uploadId: string, testName: string): string => | |||
`Failed to upload a test log. Upload ID: ${uploadId}, test name: ${testName}.`; | |||
|
|||
export const createWarningUploadError = (uploadId: string, uploadEntityId: string): string => | |||
`Failed to upload warnings. Upload ID: ${uploadId}, upload entity id: ${uploadEntityId}.`; |
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.
Did @titerman check this text?
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.
`Failed to upload warnings. Upload ID: ${uploadId}, upload entity id: ${uploadEntityId}.`; | |
`Failed to upload warning data. Upload ID: ${uploadId}, upload entity id: ${uploadEntityId}.`; |
src/types/index.ts
Outdated
@@ -2,5 +2,6 @@ export * from './task-start-args'; | |||
export * from './test-done-args'; | |||
export * from './test-start-args'; | |||
export * from './task-done-args'; | |||
export * from './report-warnings-args'; |
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.
export * from './report-warnings-args'; | |
export * from './report-warning-args'; |
'reportWarnings' method support DevExpress/testcafe#6531
Sone notes: