Skip to content

Commit 7d925af

Browse files
committed
new layout. handle multiple tests.
1 parent d29d870 commit 7d925af

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

docs/mftf-tests.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,20 @@ title: MFTF Tests
44
---
55

66
The Magento Functional Testing Framework runs tests on every Module within Magento. These files are stored within each Module folder in the Magento repo.
7-
This page lists all those tests so that developers have a good sense of what is covered.
7+
This page lists all those tests so that developers can have a good sense of what is covered.
88

9-
{% assign mftf = site.data.mftf | group_by: "module" %}
10-
{% assign sorted = mftf | sort: "name" %}
9+
{% assign mftf = site.data.mftf | group_by: "module" | sort: "name" %}
1110

12-
{% for module in sorted %}
11+
{% for item in mftf %}
1312

14-
### {{ module.name }} Module
13+
### {{ item.name }}
14+
{% for file in item.items %}
15+
#### [{{ file.filename }}]({{file.repo}})
1516

16-
{% assign tests = module.items | sort: "filename" %}
17-
{% for item in tests %}
18-
19-
**{{ item.testname }}**
20-
21-
- File name: [{{ item.filename }}.xml]({{ item.link }})
22-
- Story: {{ item.stories }}
23-
24-
{{ item.description}}
17+
{% for test in file.tests %}
18+
{{test.testname}}
19+
: {{test.description}}
2520

2621
{% endfor %}
27-
{% endfor %}
22+
{% endfor %}
23+
{% endfor %}

0 commit comments

Comments
 (0)