This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
guides/v2.2/coding-standards Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -715,6 +715,37 @@ You need to read configuration from different sources (like database or filesyst
715
715
716
716
11.2.3. ` ObjectManagerHelper ` MAY BE used to automatically mock all dependencies of the object under test.
717
717
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
+
718
749
## 12. Web API
719
750
720
751
12.1. Both REST and SOAP API's MUST be exposed.
You can’t perform that action at this time.
0 commit comments