Skip to content

Commit 84a82ef

Browse files
authored
Document allAttempts feature (#2893)
1 parent de8ecc4 commit 84a82ef

File tree

5 files changed

+95
-0
lines changed

5 files changed

+95
-0
lines changed

docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,25 @@ artifacts:
784784

785785
---
786786

787+
#### `allAttempts`
788+
789+
<p><small>| OPTIONAL | BOOLEAN |</small></p>
790+
791+
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
792+
will be downloaded.
793+
794+
```yaml
795+
artifacts:
796+
download:
797+
match:
798+
- console.log
799+
when: always
800+
allAttempts: true
801+
directory: ./artifacts/
802+
```
803+
804+
---
805+
787806
## `playwright`
788807

789808
<p><small>| REQUIRED | OBJECT |</small></p>

docs/web-apps/automated-testing/cypress/yaml/v1.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,25 @@ artifacts:
812812

813813
---
814814

815+
#### `allAttempts`
816+
817+
<p><small>| OPTIONAL | BOOLEAN |</small></p>
818+
819+
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
820+
will be downloaded.
821+
822+
```yaml
823+
artifacts:
824+
download:
825+
match:
826+
- console.log
827+
when: always
828+
allAttempts: true
829+
directory: ./artifacts/
830+
```
831+
832+
---
833+
815834
## `cypress`
816835

817836
<p><small>| REQUIRED | OBJECT |</small></p>

docs/web-apps/automated-testing/playwright/yaml.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,25 @@ artifacts:
788788

789789
---
790790

791+
#### `allAttempts`
792+
793+
<p><small>| OPTIONAL | BOOLEAN |</small></p>
794+
795+
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
796+
will be downloaded.
797+
798+
```yaml
799+
artifacts:
800+
download:
801+
match:
802+
- console.log
803+
when: always
804+
allAttempts: true
805+
directory: ./artifacts/
806+
```
807+
808+
---
809+
791810
## `playwright`
792811

793812
<p><small>| REQUIRED | OBJECT |</small></p>

docs/web-apps/automated-testing/replay/yaml.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,25 @@ artifacts:
509509

510510
---
511511

512+
#### `allAttempts`
513+
514+
<p><small>| OPTIONAL | BOOLEAN |</small></p>
515+
516+
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
517+
will be downloaded.
518+
519+
```yaml
520+
artifacts:
521+
download:
522+
match:
523+
- console.log
524+
when: always
525+
allAttempts: true
526+
directory: ./artifacts/
527+
```
528+
529+
---
530+
512531
## `suites`
513532

514533
<p><small>| REQUIRED | OBJECT |</small></p>

docs/web-apps/automated-testing/testcafe/yaml.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,25 @@ artifacts:
792792

793793
---
794794

795+
#### `allAttempts`
796+
797+
<p><small>| OPTIONAL | BOOLEAN |</small></p>
798+
799+
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
800+
will be downloaded.
801+
802+
```yaml
803+
artifacts:
804+
download:
805+
match:
806+
- console.log
807+
when: always
808+
allAttempts: true
809+
directory: ./artifacts/
810+
```
811+
812+
---
813+
795814
## `testcafe`
796815

797816
<p><small>| REQUIRED | OBJECT |</small></p>

0 commit comments

Comments
 (0)