File tree 3 files changed +3
-4
lines changed
CatalogSearch/Test/Mftf/ActionGroup
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 15
15
</arguments >
16
16
<submitForm selector =" #search_mini_form" parameterArray =" ['q' => '{{phrase}}']" stepKey =" fillQuickSearch" />
17
17
<seeInCurrentUrl url =" {{StorefrontCatalogSearchPage.url}}" stepKey =" checkUrl" />
18
+ <dontSeeInCurrentUrl url =" form_key=" stepKey =" checkUrlFormKey" />
18
19
<seeInTitle userInput =" Search results for: '{{phrase}}'" stepKey =" assertQuickSearchTitle" />
19
20
<see userInput =" Search results for: '{{phrase}}'" selector =" {{StorefrontCatalogSearchMainSection.SearchTitle}}" stepKey =" assertQuickSearchName" />
20
21
</actionGroup >
Original file line number Diff line number Diff line change 17
17
<severity value =" CRITICAL" />
18
18
<testCaseId value =" MC-295" />
19
19
<group value =" Tax" />
20
- <skip >
21
- <issueId value =" MAGETWO-96194" />
22
- </skip >
23
20
</annotations >
24
21
<before >
25
22
<actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
98
95
<waitForLoadingMaskToDisappear stepKey =" waitForLoadingMask" />
99
96
100
97
<waitForElementVisible stepKey =" waitForOverviewVisible" selector =" {{CheckoutPaymentSection.tax}}" />
98
+ <waitForText userInput =" $5.00" selector =" {{CheckoutPaymentSection.orderSummaryShippingTotal}}" time =" 30" stepKey =" waitForCorrectShippingAmount" />
101
99
<see stepKey =" seeTax" selector =" {{CheckoutPaymentSection.tax}}" userInput =" $10.30" />
102
100
<click stepKey =" expandTax" selector =" {{CheckoutPaymentSection.tax}}" />
103
101
<see stepKey =" seeTaxPercent" selector =" {{CheckoutPaymentSection.taxPercentage}}" userInput =" ({{SimpleTaxNY.rate}}%)" />
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ define([
21
21
form = $ ( e . target ) ,
22
22
formKey = $ ( 'input[name="form_key"]' ) . val ( ) ;
23
23
24
- if ( formKey && ! form . find ( 'input[name="form_key"]' ) . length ) {
24
+ if ( formKey && ! form . find ( 'input[name="form_key"]' ) . length && form [ 0 ] . method !== 'get' ) {
25
25
formKeyElement = document . createElement ( 'input' ) ;
26
26
formKeyElement . setAttribute ( 'type' , 'hidden' ) ;
27
27
formKeyElement . setAttribute ( 'name' , 'form_key' ) ;
You can’t perform that action at this time.
0 commit comments