@sentinelqa/playwright-reporter 0.1.41 → 0.1.43
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/README.md +1 -1
- package/dist/reporter.js +3 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
After every failed run, reporter prints a shareable debugging link:
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Sample run: https://app.sentinelqa.com/share/run/g-kTYKgDPAB8qWD3xSyh1rvWyGHQNdXKl1AW925XhJU
|
|
6
6
|
|
|
7
7
|
Open it to inspect failures instantly or share it in Slack, PRs, or GitHub issues.
|
|
8
8
|
|
package/dist/reporter.js
CHANGED
|
@@ -59,18 +59,15 @@ class SentinelReporter {
|
|
|
59
59
|
console.log("");
|
|
60
60
|
}
|
|
61
61
|
if (hasWorkspaceToken && !hasCiEnv && !localUploadEnabled) {
|
|
62
|
-
|
|
63
|
-
"Sentinel: Upload
|
|
62
|
+
console.log([
|
|
63
|
+
"Sentinel: Upload skipped.",
|
|
64
64
|
"Reason: Local workspace uploads require SENTINEL_UPLOAD_LOCAL=1.",
|
|
65
65
|
"",
|
|
66
|
-
"Details:",
|
|
67
|
-
"- A Sentinel workspace token was detected, so the reporter selected workspace mode.",
|
|
68
|
-
"- No supported CI environment variables were found for GitLab, GitHub, or CircleCI.",
|
|
69
|
-
"",
|
|
70
66
|
"Next step:",
|
|
71
67
|
"- Set SENTINEL_UPLOAD_LOCAL=1 to allow a local workspace upload.",
|
|
72
68
|
"- Or remove SENTINEL_TOKEN to generate a free public hosted report instead."
|
|
73
69
|
].join("\n"));
|
|
70
|
+
return;
|
|
74
71
|
}
|
|
75
72
|
if (hasWorkspaceToken) {
|
|
76
73
|
console.log("");
|