Skip to content

Commit 2aa1c8a

Browse files
committed
ACP2E-1602: [Issue] Fixed the welcome message contains single quote character
1 parent ebe998d commit 2aa1c8a

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11+
<actionGroup name="AssertStorefrontWelcomeMessageWithSingleQuoteActionGroup">
12+
<annotations>
13+
<description>Validates the Welcome message containing single quote is rendered correctly.</description>
14+
</annotations>
15+
16+
<amOnPage url="{{StorefrontHomePage.url}}" stepKey="openStorefrontHomePage"/>
17+
<waitForPageLoad stepKey="waitForStorefrontPageLoad"/>
18+
<waitForElementVisible selector="{{StorefrontPanelHeaderSection.welcomeMessage}}" stepKey="waitWelcomeMessage"/>
19+
<waitForText userInput="Message d'accueil par défaut" selector="{{StorefrontPanelHeaderSection.welcomeMessage}}" stepKey="verifyWelcomeMessage"/>
20+
</actionGroup>
21+
</actionGroups>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
10+
<test name="StoreFrontHeaderWelcomeMessageWithSingleQuoteTest">
11+
<annotations>
12+
<features value="Theme"/>
13+
<stories value="Returns"/>
14+
<title value="Verify header welcome message containing single quote rendered correctly on storefront"/>
15+
<description value="Verify header welcome message containing single quote rendered correctly on storefront"/>
16+
<severity value="AVERAGE"/>
17+
<testCaseId value="AC-7876"/>
18+
<useCaseId value="ACP2E-1602"/>
19+
<group value="theme"/>
20+
</annotations>
21+
<actionGroup ref="AssertStorefrontWelcomeMessageWithSingleQuoteActionGroup" stepKey="assertWelcomeMessage"/>
22+
</test>
23+
</tests>

0 commit comments

Comments
 (0)