|
1838 | 1838 | <actionGroup ref="dragContentTypeToStage" stepKey="dragRowIntoStage4">
|
1839 | 1839 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
1840 | 1840 | </actionGroup>
|
1841 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragRowIntoStage5"> |
1842 |
| - <argument name="contentType" value="PageBuilderRowContentType"/> |
1843 |
| - </actionGroup> |
1844 | 1841 | <!-- Add Margins: Empty -->
|
1845 | 1842 | <comment userInput="Add Margins: Empty" stepKey="commentAddMarginsEmpty"/>
|
1846 | 1843 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
|
|
1904 | 1901 | <argument name="property" value="PageBuilderMarginsProperty1"/>
|
1905 | 1902 | </actionGroup>
|
1906 | 1903 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings3"/>
|
1907 |
| - <!-- Add Margins: 500 --> |
1908 |
| - <comment userInput="Add Margins: 500" stepKey="commentAddMargins500"/> |
| 1904 | + <!-- Add Margins: Unique --> |
| 1905 | + <comment userInput="Add Margins: Unique" stepKey="commentAddMarginsUnique"/> |
1909 | 1906 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage4">
|
1910 | 1907 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
1911 | 1908 | <argument name="containerTargetType" value="PageBuilderRowContentType"/>
|
|
1921 | 1918 | </actionGroup>
|
1922 | 1919 | <actionGroup ref="expandConfigurationSection" stepKey="expandConfigurationSection4"/>
|
1923 | 1920 | <actionGroup ref="fillSlideOutPanelFieldMargins" stepKey="enterMargins4">
|
1924 |
| - <argument name="property" value="PageBuilderMarginsProperty500"/> |
| 1921 | + <argument name="property" value="PageBuilderMarginsPropertyUnique"/> |
1925 | 1922 | </actionGroup>
|
1926 | 1923 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings4"/>
|
1927 |
| - <!-- Add Margins: Unique --> |
1928 |
| - <comment userInput="Add Margins: Unique" stepKey="commentAddMarginsUnique"/> |
| 1924 | + <!-- Add Margins: Invalid --> |
| 1925 | + <comment userInput="Add Margins: Invalid" stepKey="commentAddMarginsInvalid"/> |
1929 | 1926 | <actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage5">
|
1930 | 1927 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
1931 | 1928 | <argument name="containerTargetType" value="PageBuilderRowContentType"/>
|
|
1941 | 1938 | </actionGroup>
|
1942 | 1939 | <actionGroup ref="expandConfigurationSection" stepKey="expandConfigurationSection5"/>
|
1943 | 1940 | <actionGroup ref="fillSlideOutPanelFieldMargins" stepKey="enterMargins5">
|
1944 |
| - <argument name="property" value="PageBuilderMarginsPropertyUnique"/> |
1945 |
| - </actionGroup> |
1946 |
| - <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings5"/> |
1947 |
| - <!-- Add Margins: Invalid --> |
1948 |
| - <comment userInput="Add Margins: Invalid" stepKey="commentAddMarginsInvalid"/> |
1949 |
| - <actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage6"> |
1950 |
| - <argument name="contentType" value="PageBuilderTextContentType"/> |
1951 |
| - <argument name="containerTargetType" value="PageBuilderRowContentType"/> |
1952 |
| - <argument name="containerTargetIndex" value="6"/> |
1953 |
| - <argument name="contentTypeIndex" value="6"/> |
1954 |
| - </actionGroup> |
1955 |
| - <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage6"> |
1956 |
| - <argument name="contentType" value="PageBuilderTextContentType"/> |
1957 |
| - <argument name="contentTypeIndex" value="6"/> |
1958 |
| - </actionGroup> |
1959 |
| - <actionGroup ref="addTextToTinyMCE" stepKey="enterText6"> |
1960 |
| - <argument name="property" value="PageBuilderTextContentType"/> |
1961 |
| - </actionGroup> |
1962 |
| - <actionGroup ref="expandConfigurationSection" stepKey="expandConfigurationSection6"/> |
1963 |
| - <actionGroup ref="fillSlideOutPanelFieldMargins" stepKey="enterMargins6"> |
1964 | 1941 | <argument name="property" value="PageBuilderMarginsPropertyInvalid"/>
|
1965 | 1942 | </actionGroup>
|
1966 |
| - <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings6"/> |
| 1943 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings5"/> |
1967 | 1944 | <!-- Stage: Check Margins: Empty -->
|
1968 | 1945 | <comment userInput="Stage: Check Margins: Empty" stepKey="commentStageCheckEmpty"/>
|
1969 | 1946 | <actionGroup ref="validateAdvancedStyleWithNoMargins" stepKey="validateStageEmpty">
|
|
1984 | 1961 | <argument name="margin" value="PageBuilderMarginsProperty1"/>
|
1985 | 1962 | <argument name="index" value="3"/>
|
1986 | 1963 | </actionGroup>
|
1987 |
| - <!-- Stage: Check Margins: 500 --> |
1988 |
| - <comment userInput="Stage: Check Margins: 500" stepKey="commentStageCheck500"/> |
1989 |
| - <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStage500"> |
1990 |
| - <argument name="page" value="TextOnStage"/> |
1991 |
| - <argument name="margin" value="PageBuilderMarginsProperty500"/> |
1992 |
| - <argument name="index" value="4"/> |
1993 |
| - </actionGroup> |
1994 | 1964 | <!-- Stage: Check Margins: Unique -->
|
1995 | 1965 | <comment userInput="Stage: Check Margins: Unique" stepKey="commentStageCheckUnique"/>
|
1996 | 1966 | <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStageUnique">
|
1997 | 1967 | <argument name="page" value="TextOnStage"/>
|
1998 | 1968 | <argument name="margin" value="PageBuilderMarginsPropertyUnique"/>
|
1999 |
| - <argument name="index" value="5"/> |
| 1969 | + <argument name="index" value="4"/> |
2000 | 1970 | </actionGroup>
|
2001 | 1971 | <!-- Stage: Check Margins: Invalid -->
|
2002 | 1972 | <comment userInput="Stage: Check Margins: Invalid" stepKey="commentStageCheckInvalid"/>
|
2003 | 1973 | <actionGroup ref="validateAdvancedStyleWithNoMargins" stepKey="validateStageInvalid">
|
2004 | 1974 | <argument name="page" value="TextOnStage"/>
|
2005 |
| - <argument name="index" value="6"/> |
| 1975 | + <argument name="index" value="5"/> |
2006 | 1976 | </actionGroup>
|
2007 | 1977 | <comment userInput="Validate Stage After Save" stepKey="commentStageAfterSave"/>
|
2008 | 1978 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
|
2027 | 1997 | <argument name="margin" value="PageBuilderMarginsProperty1"/>
|
2028 | 1998 | <argument name="index" value="3"/>
|
2029 | 1999 | </actionGroup>
|
2030 |
| - <!-- Stage: Check Margins: 500 --> |
2031 |
| - <comment userInput="Stage: Check Margins: 500" stepKey="commentStageCheck5002"/> |
2032 |
| - <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStage5002"> |
2033 |
| - <argument name="page" value="TextOnStage"/> |
2034 |
| - <argument name="margin" value="PageBuilderMarginsProperty500"/> |
2035 |
| - <argument name="index" value="4"/> |
2036 |
| - </actionGroup> |
2037 | 2000 | <!-- Stage: Check Margins: Unique -->
|
2038 | 2001 | <comment userInput="Stage: Check Margins: Unique" stepKey="commentStageCheckUnique2"/>
|
2039 | 2002 | <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStageUnique2">
|
2040 | 2003 | <argument name="page" value="TextOnStage"/>
|
2041 | 2004 | <argument name="margin" value="PageBuilderMarginsPropertyUnique"/>
|
2042 |
| - <argument name="index" value="5"/> |
| 2005 | + <argument name="index" value="4"/> |
2043 | 2006 | </actionGroup>
|
2044 | 2007 | <!-- Stage: Check Margins: Invalid -->
|
2045 | 2008 | <comment userInput="Stage: Check Margins: Invalid" stepKey="commentStageCheckInvalid2"/>
|
2046 | 2009 | <actionGroup ref="validateAdvancedStyleWithNoMargins" stepKey="validateStageInvalid2">
|
2047 | 2010 | <argument name="page" value="TextOnStage"/>
|
2048 |
| - <argument name="index" value="6"/> |
| 2011 | + <argument name="index" value="5"/> |
2049 | 2012 | </actionGroup>
|
2050 | 2013 | <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront">
|
2051 | 2014 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
|
2070 | 2033 | <argument name="margin" value="PageBuilderMarginsProperty1"/>
|
2071 | 2034 | <argument name="index" value="3"/>
|
2072 | 2035 | </actionGroup>
|
2073 |
| - <!-- Storefront: Check Margins: 500 --> |
2074 |
| - <comment userInput="Storefront: Check Margins: 500" stepKey="commentStorefrontCheck500"/> |
2075 |
| - <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStorefront500"> |
2076 |
| - <argument name="page" value="TextOnStorefront"/> |
2077 |
| - <argument name="margin" value="PageBuilderMarginsProperty500"/> |
2078 |
| - <argument name="index" value="4"/> |
2079 |
| - </actionGroup> |
2080 | 2036 | <!-- Storefront: Check Margins: Unique -->
|
2081 | 2037 | <comment userInput="Storefront: Check Margins: Unique" stepKey="commentStorefrontCheckUnique"/>
|
2082 | 2038 | <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStorefrontUnique">
|
2083 | 2039 | <argument name="page" value="TextOnStorefront"/>
|
2084 | 2040 | <argument name="margin" value="PageBuilderMarginsPropertyUnique"/>
|
2085 |
| - <argument name="index" value="5"/> |
| 2041 | + <argument name="index" value="4"/> |
2086 | 2042 | </actionGroup>
|
2087 | 2043 | <!-- Storefront: Check Margins: Invalid -->
|
2088 | 2044 | <comment userInput="Storefront: Check Margins: Invalid" stepKey="commentStorefrontCheckInvalid"/>
|
2089 | 2045 | <actionGroup ref="validateAdvancedStyleWithNoMargins" stepKey="validateStorefrontInvalid">
|
2090 | 2046 | <argument name="page" value="TextOnStorefront"/>
|
2091 |
| - <argument name="index" value="6"/> |
| 2047 | + <argument name="index" value="5"/> |
| 2048 | + </actionGroup> |
| 2049 | + </test> |
| 2050 | + <test name="AdvancedConfigurationFunctionalMargins500"> |
| 2051 | + <annotations> |
| 2052 | + <features value="PageBuilder"/> |
| 2053 | + <stories value="Advanced Configuration"/> |
| 2054 | + <title value="Functional - Large Margins"/> |
| 2055 | + <description value="Tests that large Margin attributes functions as expected on Stage and Storefront for Text"/> |
| 2056 | + <severity value="CRITICAL"/> |
| 2057 | + <useCaseId value="MAGETWO-83415"/> |
| 2058 | + <testCaseId value="MAGETWO-89358"/> |
| 2059 | + <group value="pagebuilder"/> |
| 2060 | + <group value="pagebuilder-advancedConfig"/> |
| 2061 | + </annotations> |
| 2062 | + <before> |
| 2063 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 2064 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 2065 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 2066 | + </before> |
| 2067 | + <after> |
| 2068 | + <actionGroup ref="logout" stepKey="logout"/> |
| 2069 | + </after> |
| 2070 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 2071 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 2072 | + </actionGroup> |
| 2073 | + <!-- Add Margins: 500 --> |
| 2074 | + <comment userInput="Add Margins: 500" stepKey="commentAddMargins500"/> |
| 2075 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
| 2076 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 2077 | + </actionGroup> |
| 2078 | + <actionGroup ref="dragContentTypeToContainer" stepKey="dragTextIntoStage"> |
| 2079 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 2080 | + <argument name="containerTargetType" value="PageBuilderRowContentType"/> |
| 2081 | + <argument name="containerTargetIndex" value="1"/> |
| 2082 | + <argument name="contentTypeIndex" value="1"/> |
| 2083 | + </actionGroup> |
| 2084 | + <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditMenuOnStage"> |
| 2085 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 2086 | + <argument name="contentTypeIndex" value="1"/> |
| 2087 | + </actionGroup> |
| 2088 | + <actionGroup ref="addTextToTinyMCE" stepKey="enterText"> |
| 2089 | + <argument name="property" value="PageBuilderTextContentType"/> |
| 2090 | + </actionGroup> |
| 2091 | + <actionGroup ref="expandConfigurationSection" stepKey="expandConfigurationSection"/> |
| 2092 | + <actionGroup ref="fillSlideOutPanelFieldMargins" stepKey="enterMargins"> |
| 2093 | + <argument name="property" value="PageBuilderMarginsProperty500"/> |
| 2094 | + </actionGroup> |
| 2095 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings4"/> |
| 2096 | + <!-- Stage: Check Margins: 500 --> |
| 2097 | + <comment userInput="Stage: Check Margins: 500" stepKey="commentStageCheck500"/> |
| 2098 | + <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStage500"> |
| 2099 | + <argument name="page" value="TextOnStage"/> |
| 2100 | + <argument name="margin" value="PageBuilderMarginsProperty500"/> |
| 2101 | + <argument name="index" value="1"/> |
| 2102 | + </actionGroup> |
| 2103 | + <!-- Validate Stage After Save --> |
| 2104 | + <comment userInput="Validate Stage After Save" stepKey="commentStageAfterSave"/> |
| 2105 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
| 2106 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
| 2107 | + <!-- Stage: Check Margins: 500 --> |
| 2108 | + <comment userInput="Stage: Check Margins: 500" stepKey="commentStageCheck5002"/> |
| 2109 | + <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStage5002"> |
| 2110 | + <argument name="page" value="TextOnStage"/> |
| 2111 | + <argument name="margin" value="PageBuilderMarginsProperty500"/> |
| 2112 | + <argument name="index" value="1"/> |
| 2113 | + </actionGroup> |
| 2114 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 2115 | + <argument name="contentType" value="PageBuilderTextContentType"/> |
| 2116 | + </actionGroup> |
| 2117 | + <!-- Storefront: Check Margins: 500 --> |
| 2118 | + <comment userInput="Storefront: Check Margins: 500" stepKey="commentStorefrontCheck500"/> |
| 2119 | + <actionGroup ref="validateAdvancedStyleWithNoAlignment" stepKey="validateStorefront500"> |
| 2120 | + <argument name="page" value="TextOnStorefront"/> |
| 2121 | + <argument name="margin" value="PageBuilderMarginsProperty500"/> |
| 2122 | + <argument name="index" value="1"/> |
2092 | 2123 | </actionGroup>
|
2093 | 2124 | </test>
|
2094 | 2125 | <test name="AdvancedConfigurationFunctionalPadding">
|
|
0 commit comments