Skip to content

Commit 9f9a627

Browse files
authored
Formatting
1 parent fbf85a7 commit 9f9a627

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/test-modularity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ This is the next step up in difficulty from the above method, as it involves sea
5656

5757
Take the `Add Attribute` button for example. The button has an `id="addAttribute"` and since we know Magento uses XML to declare much of its layout/CSS properties we can start by searching only `*.xml` files.
5858

59-
Searching through the codebase for `"addAttribute"` in `xml` files in my instance lead to four different files:
59+
Searching through the codebase for `"addAttribute"` in `xml` files leads to four different files:
6060

61-
```
61+
```terminal
6262
app/code/Magento/Customer/Test/Mftf/Section/AdminCustomerActivitiesConfigureSection.xml
6363
app/code/Magento/GiftRegistry/Test/Mftf/Section/AdminGiftRegistrySection.xml
6464
app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminProductAttributeActionGroup.xml
@@ -71,7 +71,7 @@ The first three are clearly MFTF test materials, which leaves us with the final
7171
<button name="addAttribute" class="Magento\Catalog\Block\Adminhtml\Product\Edit\Button\AddAttribute"/>
7272
```
7373

74-
This means we can safely assume `Add Attribute` button belongs to Catalog based on the above class namespace and filepath.
74+
This means we can safely assume `Add Attribute` button belongs to `Catalog` based on the above class namespace and filepath.
7575

7676
This kind of deduction is more involved, but it much more likely to give you the true source of the element.
7777

0 commit comments

Comments
 (0)