Skip to content

Commit c66a80b

Browse files
committed
documenting shardTagsEnabled
1 parent 02065a3 commit c66a80b

File tree

1 file changed

+20
-0
lines changed
  • docs/web-apps/automated-testing/cucumberjs-playwright

1 file changed

+20
-0
lines changed

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

+20
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,26 @@ To split tests in the most efficient way possible, use:
925925

926926
---
927927

928+
### `shardTagsEnabled`
929+
<p><small>| OPTIONAL | BOOLEAN |</small></p>
930+
931+
When sharding is configured and the suite is configured to filter scenarios by [tags](#tags), it is possible for feature files to be allocated to VMs only to be skipped if the
932+
feature file doesn't contain any scenarios matching the specified tags.
933+
934+
With `shardTagsEnabled` enabled, saucectl will filter out feature files that do not contain scenarios matching the given tags. This will prevent wasted VM allocations.
935+
936+
```yaml
937+
suites:
938+
- name: A shard with tags example suite
939+
shard: spec
940+
shardTagsEnabled: true
941+
options:
942+
tags:
943+
- "@smoke and not @flakey"
944+
```
945+
946+
---
947+
928948
### `timeout`
929949

930950
<p><small>| OPTIONAL | DURATION |</small></p>

0 commit comments

Comments
 (0)