File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed
app/code/Magento/Cms/Test/Mftf Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" AdminOpenCmsBlockActionGroup" >
11
+ <arguments >
12
+ <argument name =" block_id" type =" string" />
13
+ </arguments >
14
+ <amOnPage url =" {{AdminEditBlockPage.url(block_id)}}" stepKey =" openEditCmsBlock" />
15
+ </actionGroup >
16
+ </actionGroups >
Original file line number Diff line number Diff line change 9
9
<entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
11
11
<entity name =" _defaultBlock" type =" block" >
12
- <data key =" title" >Default Block</data >
12
+ <data key =" title" unique = " suffix " >Default Block</data >
13
13
<data key =" identifier" unique =" suffix" >block</data >
14
14
<data key =" content" >Here is a block test. Yeah!</data >
15
15
<data key =" active" >true</data >
Original file line number Diff line number Diff line change 8
8
9
9
<pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/PageObject.xsd" >
11
- <page name =" AdminEditBlockPage" url =" cms/block/edit/block_id" area =" admin" module =" Magento_Cms" >
11
+ <page name =" AdminEditBlockPage" url =" cms/block/edit/block_id/{{id}} " area =" admin" module =" Magento_Cms" parameterized = " true " >
12
12
<section name =" AdminUpdateBlockSection" />
13
13
</page >
14
14
</pages >
You can’t perform that action at this time.
0 commit comments