Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 8de1ed6

Browse files
authored
Merge pull request #4677 from tomreece/patch-1
MQE-1482: Add MFTF Tests technical guidelines to "Technical Guidelines" topic on DevDocs
2 parents 98fe910 + 399b7de commit 8de1ed6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

guides/v2.2/coding-standards/technical-guidelines.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,37 @@ You need to read configuration from different sources (like database or filesyst
715715

716716
11.2.3. `ObjectManagerHelper` MAY BE used to automatically mock all dependencies of the object under test.
717717

718+
### 11.3. Functional Testing
719+
720+
#### 11.3.1. Pages
721+
722+
11.3.1.1. Page file names MUST follow this pattern:
723+
724+
* {Admin or Storefront}{Description}Page.xml, where {Description} briefly describes the page under test.
725+
* Use [PascalCase](http://wiki.c2.com/?PascalCase).
726+
* Example: AdminProductAttributeGridPage.xml
727+
728+
11.3.1.2. Page `name` attribute MUST be the same as the file name.
729+
730+
11.3.1.3. Page `module` attribute MUST follow this pattern:
731+
732+
* {VendorName}_{ModuleName}
733+
* Example: Magento_Backend
734+
735+
11.3.1.4. There MUST be only one `<page>` entity per file.
736+
737+
#### 11.3.2. Sections
738+
739+
11.3.2.1. Section file names MUST follow this pattern:
740+
741+
* {Admin or Storefront}{Description}Section.xml, where {Description} briefly describes the section under test.
742+
* Use [PascalCase](http://wiki.c2.com/?PascalCase).
743+
* Example: StorefrontCheckoutCartSummarySection.xml
744+
745+
11.3.2.2. Section `name` attribute MUST be the same as the file name.
746+
747+
11.3.2.3. There MUST be only one `<section>` entity per file.
748+
718749
## 12. Web API
719750

720751
12.1. Both REST and SOAP API's MUST be exposed.

0 commit comments

Comments
 (0)