Skip to content

Commit 7d6b0d7

Browse files
authored
Merge pull request magento#3474 from magento-borg/BugFixPR
[2.3-develop] Bug Fixes
2 parents 7755eef + 62efbf6 commit 7d6b0d7

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/code/Magento/CatalogSearch/Test/Mftf/ActionGroup/StorefrontCatalogSearchActionGroup.xml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
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>

app/code/Magento/Tax/Test/Mftf/Test/StorefrontTaxQuoteCartTest.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
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"/>
@@ -98,6 +95,7 @@
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}}%)"/>

lib/web/mage/common.js

+1-1
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)