File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
app/code/Magento/Cookie/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 29
29
<actionGroup ref =" AdminFillCookieLifetimeActionGroup" stepKey =" fillCookieLifetimeField" >
30
30
<argument name =" cookieLifetime" value =" cookie" />
31
31
</actionGroup >
32
- <actionGroup ref =" AdminClickFormActionButtonActionGroup" stepKey =" clickSaveButton " >
32
+ <actionGroup ref =" AdminClickFormActionButtonActionGroup" stepKey =" clickSaveButtonWithString " >
33
33
<argument name =" buttonSelector" value =" {{AdminMainActionsSection.save}}" />
34
34
</actionGroup >
35
35
<actionGroup ref =" AssertAdminValidationErrorActionGroup" stepKey =" assertNumberValidation" >
36
36
<argument name =" inputId" value =" web_cookie_cookie_lifetime" />
37
37
<argument name =" errorMessage" value =" Please enter a valid number in this field." />
38
38
</actionGroup >
39
+ <actionGroup ref =" AdminFillCookieLifetimeActionGroup" stepKey =" fillCookieLifetimeFieldWithNumber" >
40
+ <argument name =" cookieLifetime" value =" 3600" />
41
+ </actionGroup >
42
+ <actionGroup ref =" AdminClickFormActionButtonActionGroup" stepKey =" clickSaveButtonWithNumber" >
43
+ <argument name =" buttonSelector" value =" {{AdminMainActionsSection.save}}" />
44
+ </actionGroup >
45
+ <actionGroup ref =" AssertMessageInAdminPanelActionGroup" stepKey =" assertSaveCookieLifetimeSuccessMessage" >
46
+ <argument name =" message" value =" You saved the configuration." />
47
+ <argument name =" messageType" value =" success" />
48
+ </actionGroup >
39
49
</test >
40
50
</tests >
You can’t perform that action at this time.
0 commit comments