Skip to content

Commit 707c74b

Browse files
issue-541
1 parent cee99aa commit 707c74b

5 files changed

Lines changed: 68 additions & 14 deletions

File tree

src/content/docs/advanced/bulk-edit-folder/bulk-edit-on-suite-and-test-level.md

Lines changed: 68 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,103 @@
11
---
22
title: Bulk Edit on Suite and Test Levels
3-
description: Learn how to use the Bulk Edit feature in Testomat.io to manage test suites more efficiently. This guide explains file and folder patterns, how to bulk edit individual suites using YAML, and how to quickly create multiple tests with minimal input.
3+
description: Learn how to use the Bulk Edit feature in Testomat.io to manage test suites more efficiently. This guide explains file and folder patterns, how to bulk edit individual suites using YAML, and how to quickly create multiple tests with minimal input.
44
type: article
55
url: https://docs.testomat.io/advanced/bulk-edit-folder-suites-and-tests
66
head:
77
- tag: meta
88
attrs:
99
name: og:image
1010
content: https://docs.testomat.io/_astro/169832839-f67f3cad-73b7-43ff-ba00-b4ecd4296c2f.D7I3Huc-_Z21Q63i.webp
11-
11+
1212
- tag: meta
1313
attrs:
1414
name: keywords
1515
content: bulk edit, test management, Testomat.io, YAML, test suite, reorder tests, create tests, delete tests, bulk test creation, file patterns, test restructuring, automation
1616
---
17+
1718
## File and Folder Patterns
1819

19-
In order to reflect the BDD paradigm in the best way and to support the consistency of the project structure, Testomat.io provides a Folder and File pattern.
20+
In order to reflect the BDD paradigm in the best way and to support the consistency of the project structure, Testomat.io provides a Folder and File pattern.
2021
A suite with tests is considered to be a **file** (like a file with tests in your filesystem).
2122
A suite that contains other suites is a **folder** (like in a filesystem).
2223
So the main rule here is **suite can contain only tests or suites but not both**.
2324

2425
## How to Use Bulk Edit on Suite Level
2526

26-
Your project may contain a huge amount of tests and suites. It's more efficient to edit tests at the suite level. See how it works:
27+
Bulk Edit allows you to update an entire suite as a single Markdown document.
28+
29+
Instead of opening tests one by one, you modify all tests directly inside the suite file. This speeds up large-scale updates and keeps test documentation consistent, especially for large regression suites or when multiple tests require the same change.
30+
31+
### Why Use Bulk Edit
32+
33+
In real QA workflows, updates rarely affect only one test. Bulk Edit is ideal for:
34+
35+
- Updating or adding examples across multiple **parametrized tests**
36+
- Aligning labels, priorities, or tags across a feature area
37+
- Updating wording after UI changes
38+
- Refactoring test descriptions
39+
- Quickly drafting multiple new tests with the same description
40+
- Applying global text updates with **Change All Occurrences**
41+
42+
By working at the suite level, all changes are applied automatically when the suite is saved, avoiding manual synchronization of individual tests. The editor works with the [Classical Tests Markdown Format](https://docs.testomat.io/project/import-export/export-tests/classical-tests-markdown-format/), where suites and tests are structured as blocks in a single Markdown document.
43+
44+
::: note
45+
46+
Deletions made in Bulk Edit are **not applied when saving** to prevent accidental removals. If you need to delete items, use the regular **multi-select** workflow instead.
47+
48+
:::
49+
50+
### Step-by-Step Guide
51+
52+
1. Navigate to the **Tests** page
53+
2. Open the suite you want to edit
54+
3. Click the **'...'** extra menu
55+
4. Select the **'Bulk edit'**
56+
57+
![Bulk Edit](./images/att1_541.png)
58+
59+
5. The Markdown editor opens, displaying the full suite file
60+
61+
From here, you can modify or create:
62+
63+
- Suite metadata (emoji, overall tags, labels, assignees, etc.)
64+
- Test metadata (including tags, labels, priorities, assignees, etc.)
65+
- Test descriptions (steps, expected results, etc.)
66+
- Examples (parametrized tests)
67+
- Add a new test - either by clicking **Add Test** (which automatically inserts `<!-- test -->` and a new `##` block) or by writing it manually in the suite file
68+
69+
![All changes in Bulk Edit](./images/att2_541.png)
70+
71+
All changes follow the [Classical Tests Markdown Format](https://docs.testomat.io/project/import-export/export-tests/classical-tests-markdown-format/), so you can learn more about the structure and formatting rules.
72+
73+
### Practical Example: Parametrized Tests
2774

28-
1. Select the test suite you want to edit from the project view.
75+
**Scenario:** You need to update examples across multiple parametrized tests.
2976

30-
2. Click the three-dot menu (⋮) next to the suite name.
77+
**Without Bulk Edit:** Each test must be opened and updated individually.
3178

32-
3. Choose **Bulk Edit** from the dropdown menu.
79+
**With Bulk Edit:**
3380

34-
4. Modify the suite content in the YAML editor as needed.
81+
1. Open the suite in Bulk Edit
82+
2. Select the parameters (examples) you want to update — they will be highlighted in the editor for easy identification
83+
3. Use **Change All Occurrences** to apply updates globally
84+
4. Update the parameters (examples)
85+
5. Click **Save**
3586

36-
5. Click **Preview** to review the proposed changes.
87+
All tests instantly reflect the new or updated examples.
3788

38-
6. In the confirmation pop-up, click **Apply Changes** to save your updates.
89+
![Markdown editor](./images/gif1_541.gif)
3990

40-
![Bulk edit on suite level](./images/bulk_edit_suite_level.png)
91+
Bulk Edit makes managing parametrized tests extremely efficient — whether adding new examples, correcting existing ones, or updating shared datasets.
4192

42-
![Make changes in the suite](./images/make_changes_in_the_suite.png)
93+
### Best Practices
4394

44-
![Apply changes suite level](./images/apply_changes_suite_level.png)
95+
- Treat the suite file as a single source of truth for related tests
96+
- Make grouped, logical updates instead of many small edits
97+
- Review global replacements before saving
98+
- Keep formatting consistent to ensure correct parsing
4599

46-
[![CleanShot 2022-05-27 at 20 21 06@2x](./images/170759894-469aac18-08b7-407f-938e-eda4037dc4b8.jpg)](https://youtu.be/Cp7XJynF7u4)
100+
Bulk Edit works best for structured updates affecting multiple tests, rather than small individual corrections.
47101

48102
## Bulk Tests Creation
49103

517 KB
Loading
189 KB
Loading
Binary file not shown.
7.73 MB
Loading

0 commit comments

Comments
 (0)