File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Customer/Test/Mftf/Section Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" StorefrontPanelHeaderSection" >
12
- <element name =" welcomeMessage" type =" text" selector =" header>.panel .greet.welcome" timeout = " 120 " />
12
+ <element name =" welcomeMessage" type =" text" selector =" header>.panel .greet.welcome" />
13
13
<element name =" createAnAccountLink" type =" select" selector =" //div[@class='panel wrapper']//li/a[contains(.,'Create an Account')]" timeout =" 30" />
14
14
<element name =" notYouLink" type =" button" selector =" .greet.welcome span a" />
15
15
<element name =" customerWelcome" type =" text" selector =" .panel.header .greet.welcome" />
Original file line number Diff line number Diff line change 17
17
<waitForPageLoad stepKey =" waitForStorefrontPageLoad" />
18
18
<waitForElementVisible selector =" {{StorefrontPanelHeaderSection.welcomeMessage}}" stepKey =" waitWelcomeMessage" />
19
19
<waitForText userInput =" Message d'accueil par défaut" selector =" {{StorefrontPanelHeaderSection.welcomeMessage}}" stepKey =" verifyWelcomeMessage" />
20
+ <waitForPageLoad stepKey =" waitForStorefrontPageCompleteLoad" />
21
+ <see selector =" {{StorefrontPanelHeaderSection.welcomeMessage}}" userInput =" Message d'accueil par défaut" stepKey =" assertWelcomeMessage" />
20
22
</actionGroup >
21
23
</actionGroups >
Original file line number Diff line number Diff line change 23
23
<actionGroup ref =" ClearCacheActionGroup" stepKey =" clearCache" />
24
24
<!-- Verify welcome message at storefront-->
25
25
<actionGroup ref =" AssertStorefrontWelcomeMessageWithSingleQuoteActionGroup" stepKey =" assertWelcomeMessage" />
26
+ <wait stepKey =" waitAfterWelcomeMessageIsLoaded" time =" 90" />
26
27
</test >
27
28
</tests >
You can’t perform that action at this time.
0 commit comments