@@ -58,6 +58,8 @@ The following pattern is used when merging with `extends`:
58
58
59
59
Name files according to the following patterns to make searching in future more easy:
60
60
61
+ <!-- {% raw %} -->
62
+
61
63
#### Test file name
62
64
63
65
Format: {_ Admin_ or _ Storefront_ }{Functionality}_ Test.xml_ , where Functionality briefly describes the testing functionality.
@@ -80,6 +82,8 @@ Example: _AdminNavbarSection.xml_.
80
82
81
83
Format: {Type}_ Data.xml_ , where Type represents the entity type.
82
84
85
+ <!-- {% endraw %} -->
86
+
83
87
Example: _ ProductData.xml_ .
84
88
85
89
### Object names
@@ -91,18 +95,18 @@ Use the _Foo.camelCase_ naming convention, which is similar to _Classes_ and _cl
91
95
Use an upper case first letter for:
92
96
93
97
- File names. Example: _ StorefrontCreateCustomerTest.xml_
94
- - Test name attributes. Example: ` <test name="TestAllTheThingsTest"> ` .
95
- - Data entity names. Example: ` <entity name="OutOfStockProduct"> ` .
96
- - Page name. Example: ` <page name="AdminLoginPage"> ` .
97
- - Section name. Example: ` <section name="AdminCategorySidebarActionSection"> ` .
98
- - Action group name. Example: ` <actionGroup name="LoginToAdminActionGroup"> ` .
98
+ - Test name attributes. Example: ` <test name="TestAllTheThingsTest"> `
99
+ - Data entity names. Example: ` <entity name="OutOfStockProduct"> `
100
+ - Page name. Example: ` <page name="AdminLoginPage"> `
101
+ - Section name. Example: ` <section name="AdminCategorySidebarActionSection"> `
102
+ - Action group name. Example: ` <actionGroup name="LoginToAdminActionGroup"> `
99
103
100
104
#### Lower case
101
105
102
106
Use a lower case first letter for:
103
107
104
- - Data keys. Example: ` <data key="firstName"> ` .
105
- - Element names. Examples: ` <element name="confirmDeleteButton"/> ` .
108
+ - Data keys. Example: ` <data key="firstName"> `
109
+ - Element names. Examples: ` <element name="confirmDeleteButton"/> `
106
110
- Step keys. For example: ` <click selector="..." stepKey="clickLogin"/> `
107
111
108
112
## Page object
0 commit comments