Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .c8rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"all": true,
"check-coverage": true,
"statements": 85,
"branches": 75,
"branches": 70,
"functions": 85,
"lines": 85,
"include": [
Expand Down
65 changes: 64 additions & 1 deletion docs/report-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,69 @@ stored in [AWS Timestream], please see [Storage Schema].

## Current

```json
{
"id": "<GUID>",
"version": 3,
"summary": {
"status": "<Must be 'passed' or 'failed'>",
"github": {
"organization": "<Non-empty string matching pattern '[A-Za-z0-9_.-]+'>",
"repository": "<Non-empty string matching pattern '[A-Za-z0-9_.-]+'>",
"workflow": "<Non-empty string matching pattern '^(?!\\s).+(?<!\\s)$'>",
"runId": "<Positive integer, can be 0>",
"runAttempt": "<Positive integer, must be 1 or greater>"
},
"git": {
"branch": "<Git branch this was generated for>",
"sha": "<Git SHA hash representing the commit this was generated for>"
},
"framework": "<Non-empty string matching pattern '^(?!\\s).+(?<!\\s)$>'",
"operatingSystem": "<Must be one of 'linux', 'windows' or 'mac'>",
"started": "<UTC timestamp>",
"duration": {
"total": "<Positive integer representing milliseconds, can be 0>"
},
"count": {
"passed": "<Positive integer, can be 0>",
"failed": "<Positive integer, can be 0>",
"skipped": "<Positive integer, can be 0>",
"flaky": "<Positive integer, can be 0>"
}
},
"details": [
{
"name": "<Non-empty string matching pattern '^(?!\\s).+(?<!\\s)$>'",
"status": "<Must be 'passed', 'skipped' or 'failed'>",
"location": {
"file": "<Non-empty string matching pattern '^(?!\\s).+(?<!\\s)$'>",
"line": "<Positive integer, can be 0, optional>",
"column": "<Positive integer, can be 0, optional>"
},
"browser": "<Can be 'chromium', 'chrome', 'firefox', 'webkit', 'safari' or 'edge', optional>",
"timeout": "<Positive integer representing milliseconds, can be 0, optional>",
"started": "<Timestamp in UTC time>",
"duration": {
"total": "<Positive integer representing milliseconds, can be 0>",
"final": "<Positive integer representing milliseconds, can be 0>"
},
"tool": "<Non-empty string matching pattern '^(?!\\s).+(?<!\\s)$', optional>",
"experience": "<Non-empty string matching pattern '^(?!\\s).+(?<!\\s)$', optional>",
"type": "<Non-empty string matching pattern '^(?!\\s).+(?<!\\s)$', optional>",
"retries": "<Positive integer, can be 0>",
"github": {
"codeowners": "<Array of strings starting with '@', optional>"
}
}
]
}
```

## Previous

<details>
<summary>Version 2</summary>

```json
{
"id": "<GUID>",
Expand Down Expand Up @@ -67,7 +130,7 @@ stored in [AWS Timestream], please see [Storage Schema].
}
```

## Previous
</details>

<details>
<summary>Version 1</summary>
Expand Down
7 changes: 6 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ const playwrightConfigs = addExtensions(
const webTestRunnerConfigs = addExtensions(
[
...testingConfig,
...commonConfigs
...commonConfigs,
{
rules: {
'mocha/no-pending-tests': 'off'
}
}
],
fileExtensions
);
Expand Down
193 changes: 188 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"ajv-errors": "^3",
"ajv-formats": "^3",
"chalk": "^5",
"codeowners": "^5.1.1",
"lodash": "^4",
"minimatch": "^10",
"mocha": "^11",
Expand Down
Loading
Loading