Skip to content

Commit f50e867

Browse files
committed
ACQE-7336: Admin can edit CMS block scheduled updates and verify changes across dashboard and storefront
- Moved test file to ee and created required entity and ag
1 parent 0d9b9e2 commit f50e867

File tree

3 files changed

+34
-266
lines changed

3 files changed

+34
-266
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright 2025 Adobe
5+
* All Rights Reserved.
6+
*/
7+
-->
8+
9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11+
<actionGroup name="AdminCreateWidgetWithEnabledBlockActionGroup" extends="AdminCreateWidgetWithBlockActionGroup">
12+
<annotations>
13+
<description>EXTENDS: AdminCreateWidgetWithBlockActionGroup. Creates the provided Widget which includes the provided enabled Block (instead of disabled).</description>
14+
</annotations>
15+
16+
<remove keyForRemoval="chooseStatus"/>
17+
<selectOption selector="{{AdminNewWidgetSection.blockStatus}}" userInput="Enable" stepKey="chooseStatusEnabled" after="waitForLoadBlocks"/>
18+
</actionGroup>
19+
</actionGroups>

app/code/Magento/Cms/Test/Mftf/Test/AdminEditCMSBlockScheduledUpdateComprehensiveTest.xml

Lines changed: 0 additions & 264 deletions
This file was deleted.

app/code/Magento/Widget/Test/Mftf/Data/WidgetData.xml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
4+
* Copyright 2018 Adobe
5+
* All Rights Reserved.
66
*/
77
-->
88

@@ -21,4 +21,17 @@
2121
<data key="container">Page Top</data>
2222
<data key="display_on">All Pages</data>
2323
</entity>
24+
<entity name="WidgetWithBlockMainContent" type="widget">
25+
<data key="type">CMS Static Block</data>
26+
<data key="designTheme">Magento Luma</data>
27+
<data key="design_theme">Magento Luma</data>
28+
<data key="name" unique="suffix">testName</data>
29+
<data key="store_id">All Store Views</data>
30+
<array key="store_ids">
31+
<item>All Store Views</item>
32+
</array>
33+
<data key="display">All Pages</data>
34+
<data key="container">Main Content Area</data>
35+
<data key="display_on">All Pages</data>
36+
</entity>
2437
</entities>

0 commit comments

Comments
 (0)