Skip to content

Commit

Permalink
Document allAttempts feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mhan83 committed Aug 16, 2024
1 parent de8ecc4 commit 9de2fef
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,25 @@ artifacts:

---

#### `allAttempts`

<p><small>| OPTIONAL | BOOLEAN |</small></p>

If you have your tests configured with [retries](#retries), you can set this option to `true` to download artifacts for every attempt. Otherwise, only artifacts of the last attempt
will be downloaded.

```yaml
artifacts:
download:
match:
- console.log
when: always
allAttempts: true
directory: ./artifacts/
```

---

## `playwright`

<p><small>| REQUIRED | OBJECT |</small></p>
Expand Down
19 changes: 19 additions & 0 deletions docs/web-apps/automated-testing/cypress/yaml/v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,25 @@ artifacts:

---

#### `allAttempts`

<p><small>| OPTIONAL | BOOLEAN |</small></p>

If you have your tests configured with [retries](#retries), you can set this option to `true` to download artifacts for every attempt. Otherwise, only artifacts of the last attempt
will be downloaded.

```yaml
artifacts:
download:
match:
- console.log
when: always
allAttempts: true
directory: ./artifacts/
```

---

## `cypress`

<p><small>| REQUIRED | OBJECT |</small></p>
Expand Down
19 changes: 19 additions & 0 deletions docs/web-apps/automated-testing/playwright/yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,25 @@ artifacts:

---

#### `allAttempts`

<p><small>| OPTIONAL | BOOLEAN |</small></p>

If you have your tests configured with [retries](#retries), you can set this option to `true` to download artifacts for every attempt. Otherwise, only artifacts of the last attempt
will be downloaded.

```yaml
artifacts:
download:
match:
- console.log
when: always
allAttempts: true
directory: ./artifacts/
```

---

## `playwright`

<p><small>| REQUIRED | OBJECT |</small></p>
Expand Down
19 changes: 19 additions & 0 deletions docs/web-apps/automated-testing/replay/yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,25 @@ artifacts:

---

#### `allAttempts`

<p><small>| OPTIONAL | BOOLEAN |</small></p>

If you have your tests configured with [retries](#retries), you can set this option to `true` to download artifacts for every attempt. Otherwise, only artifacts of the last attempt
will be downloaded.

```yaml
artifacts:
download:
match:
- console.log
when: always
allAttempts: true
directory: ./artifacts/
```

---

## `suites`

<p><small>| REQUIRED | OBJECT |</small></p>
Expand Down
19 changes: 19 additions & 0 deletions docs/web-apps/automated-testing/testcafe/yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,25 @@ artifacts:

---

#### `allAttempts`

<p><small>| OPTIONAL | BOOLEAN |</small></p>

If you have your tests configured with [retries](#retries), you can set this option to `true` to download artifacts for every attempt. Otherwise, only artifacts of the last attempt
will be downloaded.

```yaml
artifacts:
download:
match:
- console.log
when: always
allAttempts: true
directory: ./artifacts/
```

---

## `testcafe`

<p><small>| REQUIRED | OBJECT |</small></p>
Expand Down

0 comments on commit 9de2fef

Please sign in to comment.