This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* warnings api for reporter * tests * clean code * clean code * clean code * fix unit tests warnings * renaming * lint fixed * api changed * lint * new report warnings event * tests * clean code * lint * add import * fix aduit * upd testcafe * upd lockfile * update testcafe * using tc 1.17.0 * update testcafe version * renaming * text changed
- Loading branch information
1 parent
97f1a6a
commit d8a9e9f
Showing
22 changed files
with
345 additions
and
94 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
import * as t from 'io-ts'; | ||
import { ShortIdSchema } from './common'; | ||
|
||
export const ReportWarningsSchema = t.readonly( | ||
t.exact( | ||
t.type({ | ||
testId: ShortIdSchema, | ||
}) | ||
) | ||
); | ||
|
||
export type ReportWarningArgs = t.TypeOf<typeof ReportWarningsSchema>; |
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
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { TestRunInfo } from '../../src/types/testcafe'; | ||
import { CHROME, CHROME_HEADLESS, FIREFOX } from './test-browser-info'; | ||
|
||
export const WARNINGS_TEST_RUN_ID_1 = 'Xsa6hZIR5'; | ||
export const WARNINGS_TEST_RUN_ID_2 = 'Xsa6hZIR6'; | ||
export const WARNINGS_TEST_RUN_ID_3 = 'Xsa6hZIR67'; | ||
|
||
const testId = 'testId'; | ||
|
||
export const testWarningsInfo: TestRunInfo = { | ||
browsers: [ { ...FIREFOX, testRunId: WARNINGS_TEST_RUN_ID_1 }, { ...CHROME, testRunId: WARNINGS_TEST_RUN_ID_2 }, { ...CHROME_HEADLESS, testRunId: WARNINGS_TEST_RUN_ID_3 } ], | ||
durationMs: 1, | ||
|
||
errs: [ | ||
|
||
], | ||
|
||
quarantine: null, | ||
screenshotPath: null, | ||
screenshots: [], | ||
skipped: false, | ||
testId, | ||
unstable: false, | ||
videos: [], | ||
warnings: [] | ||
}; |
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
Oops, something went wrong.