Skip to content

Commit 46eabbf

Browse files
authored
Added raw tags
1 parent 2d67ec9 commit 46eabbf

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

docs/best-practices.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ The following pattern is used when merging with `extends`:
5858

5959
Name files according to the following patterns to make searching in future more easy:
6060

61+
<!-- {% raw %} -->
62+
6163
#### Test file name
6264

6365
Format: {_Admin_ or _Storefront_}{Functionality}_Test.xml_, where Functionality briefly describes the testing functionality.
@@ -80,6 +82,8 @@ Example: _AdminNavbarSection.xml_.
8082

8183
Format: {Type}_Data.xml_, where Type represents the entity type.
8284

85+
<!-- {% endraw %} -->
86+
8387
Example: _ProductData.xml_.
8488

8589
### Object names
@@ -91,18 +95,18 @@ Use the _Foo.camelCase_ naming convention, which is similar to _Classes_ and _cl
9195
Use an upper case first letter for:
9296

9397
- 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">`
99103

100104
#### Lower case
101105

102106
Use a lower case first letter for:
103107

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"/>`
106110
- Step keys. For example: `<click selector="..." stepKey="clickLogin"/>`
107111

108112
## Page object

0 commit comments

Comments
 (0)