File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
CatalogSearch/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1515 </arguments >
1616 <submitForm selector =" #search_mini_form" parameterArray =" ['q' => '{{phrase}}']" stepKey =" fillQuickSearch" />
1717 <seeInCurrentUrl url =" {{StorefrontCatalogSearchPage.url}}" stepKey =" checkUrl" />
18+ <dontSeeInCurrentUrl url =" form_key=" stepKey =" checkUrlFormKey" />
1819 <seeInTitle userInput =" Search results for: '{{phrase}}'" stepKey =" assertQuickSearchTitle" />
1920 <see userInput =" Search results for: '{{phrase}}'" selector =" {{StorefrontCatalogSearchMainSection.SearchTitle}}" stepKey =" assertQuickSearchName" />
2021 </actionGroup >
Original file line number Diff line number Diff line change 1717 <severity value =" CRITICAL" />
1818 <testCaseId value =" MC-295" />
1919 <group value =" Tax" />
20- <skip >
21- <issueId value =" MAGETWO-96194" />
22- </skip >
2320 </annotations >
2421 <before >
2522 <actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
9895 <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMask" />
9996
10097 <waitForElementVisible stepKey =" waitForOverviewVisible" selector =" {{CheckoutPaymentSection.tax}}" />
98+ <waitForText userInput =" $5.00" selector =" {{CheckoutPaymentSection.orderSummaryShippingTotal}}" time =" 30" stepKey =" waitForCorrectShippingAmount" />
10199 <see stepKey =" seeTax" selector =" {{CheckoutPaymentSection.tax}}" userInput =" $10.30" />
102100 <click stepKey =" expandTax" selector =" {{CheckoutPaymentSection.tax}}" />
103101 <see stepKey =" seeTaxPercent" selector =" {{CheckoutPaymentSection.taxPercentage}}" userInput =" ({{SimpleTaxNY.rate}}%)" />
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ define([
2121 form = $ ( e . target ) ,
2222 formKey = $ ( 'input[name="form_key"]' ) . val ( ) ;
2323
24- if ( formKey && ! form . find ( 'input[name="form_key"]' ) . length ) {
24+ if ( formKey && ! form . find ( 'input[name="form_key"]' ) . length && form [ 0 ] . method !== 'get' ) {
2525 formKeyElement = document . createElement ( 'input' ) ;
2626 formKeyElement . setAttribute ( 'type' , 'hidden' ) ;
2727 formKeyElement . setAttribute ( 'name' , 'form_key' ) ;
You can’t perform that action at this time.
0 commit comments