You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ In this example:
22
22
*`SimpleSubCategory` is an entity name.
23
23
*`name` is a `<data>` key of the entity. The corresponding value will be assigned to `userInput` as a result.
24
24
25
-
The following is the usage of `<data>` entity in the `Magento/Customer/Test/Mftf/Test/AdminCustomersAllCustomersNavigateMenuTest.xml` test:
25
+
The following is an example of the usage of `<data>` entity in the `Magento/Customer/Test/Mftf/Test/AdminCustomersAllCustomersNavigateMenuTest.xml` test:
@@ -145,7 +145,7 @@ userInput="We'll email you an order confirmation with details and tracking info.
145
145
146
146
## Format
147
147
148
-
The format of `<data>` entity is:
148
+
The format of the `<data>` entity is:
149
149
150
150
```xml
151
151
<?xml version="1.0" encoding="UTF-8"?>
@@ -243,7 +243,7 @@ You can also call data from the xml definition of a `data` tag directly:
243
243
244
244
Attributes|Type|Use|Description
245
245
---|---|---|---
246
-
`name`|string|optional|Name of the `<entity>`. Camel case is used for the entity name.
246
+
`name`|string|optional|Name of the `<entity>`. Use camel case for entity names.
247
247
`type`|string|optional|Node containing the exact name of `<entity>` type. Used later to find specific Persistence Layer Model class. `type` in `<data>` can be whatever the user wants; There are no constraints. It is important when persisting data, depending on the `type` given, as it will try to match a metadata definition with the operation being done. Example: A `myCustomer` entity with `type="customer"`, calling `<createData entity="myCustomer"/>`, will try to find a metadata entry with the following attributes: `<operation dataType="customer" type="create">`.
248
248
`deprecated`|string|optional|Used to warn about the future deprecation of the data entity. String will appear in Allure reports and console output at runtime.
0 commit comments