@checkly/playwright-reporter 1.2.0 → 1.3.0
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +31 -3
- package/dist/index.js +1 -2488
- package/package.json +31 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ All notable changes to `@checkly/playwright-reporter` will be documented in this
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## 1.3.0 (2026-01-29)
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **Real-time test progress** - See test results as they run with status icons, error details, and a summary, similar to Playwright's built-in `line` reporter. Disable with `showProgress: false` if using another reporter.
|
|
12
|
+
|
|
13
|
+
- **Summary table** - View a per-project breakdown of test results with pass/fail/flaky/skip counts and pass rates. Enable with `showSummaryTable: true`. Projects are color-coded for easy identification.
|
|
14
|
+
|
|
15
|
+
- **Automatic git detection** - Git information (branch, commit, author) is now automatically detected in CI environments and locally.
|
|
16
|
+
|
|
17
|
+
- **Test step code snippets** - Test steps now include source code context in the report. When viewing step details, you'll see the exact line of code that executed along with surrounding context and a pointer to the precise column location. This makes debugging failed steps easier by showing exactly what code ran.
|
|
18
|
+
|
|
7
19
|
## 1.2.0 (2026-01-21)
|
|
8
20
|
|
|
9
21
|
### Breaking Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import { JSONReportTestResult as JSONReportTestResult$1, Reporter } from '@playwright/test/reporter';
|
|
2
|
-
export { JSONReport, JSONReportError, JSONReportSTDIOEntry, JSONReportSpec, JSONReportSuite, JSONReportTest,
|
|
1
|
+
import { JSONReportTestResult as JSONReportTestResult$1, JSONReportTestStep as JSONReportTestStep$1, Reporter } from '@playwright/test/reporter';
|
|
2
|
+
export { JSONReport, JSONReportError, JSONReportSTDIOEntry, JSONReportSpec, JSONReportSuite, JSONReportTest, TestError } from '@playwright/test/reporter';
|
|
3
3
|
|
|
4
|
+
interface ChecklyStepData {
|
|
5
|
+
location?: {
|
|
6
|
+
file: string;
|
|
7
|
+
line: number;
|
|
8
|
+
column: number;
|
|
9
|
+
};
|
|
10
|
+
snippet?: string;
|
|
11
|
+
}
|
|
12
|
+
interface JSONReportTestStep extends JSONReportTestStep$1 {
|
|
13
|
+
_checkly?: ChecklyStepData;
|
|
14
|
+
steps?: JSONReportTestStep[];
|
|
15
|
+
}
|
|
4
16
|
interface ChecklyConsoleLog {
|
|
5
17
|
type: 'log' | 'warn' | 'error' | 'info' | 'debug';
|
|
6
18
|
message: string;
|
|
@@ -45,6 +57,22 @@ interface ChecklyReporterOptions {
|
|
|
45
57
|
}) => string);
|
|
46
58
|
/** Dry run mode - generate report but don't upload. */
|
|
47
59
|
dryRun?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Show real-time test progress in the terminal (like Playwright's "line" reporter).
|
|
62
|
+
* Set to false if you're using another reporter that prints progress.
|
|
63
|
+
* Defaults to true.
|
|
64
|
+
*/
|
|
65
|
+
showProgress?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* When showProgress is enabled, also print individual test steps.
|
|
68
|
+
* Defaults to false.
|
|
69
|
+
*/
|
|
70
|
+
printSteps?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Show a summary table at the end of the test run with per-project breakdown.
|
|
73
|
+
* Defaults to true.
|
|
74
|
+
*/
|
|
75
|
+
showSummaryTable?: boolean;
|
|
48
76
|
}
|
|
49
77
|
type ChecklyReporterClass = new (options?: ChecklyReporterOptions) => Reporter;
|
|
50
78
|
declare const _default: ChecklyReporterClass;
|
|
@@ -65,4 +93,4 @@ declare const _default: ChecklyReporterClass;
|
|
|
65
93
|
*/
|
|
66
94
|
declare function createChecklyReporter(options?: ChecklyReporterOptions): ['@checkly/playwright-reporter', ChecklyReporterOptions];
|
|
67
95
|
|
|
68
|
-
export { type ChecklyConsoleLog, type ChecklyData, type ChecklyNetworkRequest, type ChecklyReporterOptions, type JSONReportTestResult, MissingCredentialsError, createChecklyReporter, _default as default };
|
|
96
|
+
export { type ChecklyConsoleLog, type ChecklyData, type ChecklyNetworkRequest, type ChecklyReporterOptions, type JSONReportTestResult, type JSONReportTestStep, MissingCredentialsError, createChecklyReporter, _default as default };
|