Skip to content

Commit b4e5a8c

Browse files
authored
Merge pull request #3394 from magento-honey-badgers/2.3.0-release-bugs
[honey] 2.3 release bugs
2 parents d74a4e3 + cc98ed6 commit b4e5a8c

File tree

5 files changed

+26
-4
lines changed
  • app/code/Magento/Integration/etc/adminhtml
  • dev/tests
    • functional/tests/app/Magento
    • integration/testsuite/Magento/Integration/Block/Adminhtml/System/Config

5 files changed

+26
-4
lines changed

app/code/Magento/Integration/etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<label>Maximum Login Failures to Lock Out Account</label>
5555
<comment>Maximum Number of authentication failures to lock out account.</comment>
5656
</field>
57-
<field id="timeout" translate="label" type="text comment" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
57+
<field id="timeout" translate="label comment" type="text" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
5858
<label>Lockout Time (seconds)</label>
5959
<comment>Period of time in seconds after which account will be unlocked.</comment>
6060
</field>

dev/tests/functional/tests/app/Magento/Bundle/Test/Block/Adminhtml/Product/Composite/Configure.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
-->
88
<mapping strict="0">
99
<fields>
10-
<qty />
1110
<checkbox>
1211
<selector>div[contains(@class,"field choice") and label[contains(.,"%product_name%")]]//input</selector>
1312
<strategy>xpath</strategy>

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Block/Adminhtml/Product/Composite/Configure.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
-->
88
<mapping strict="0">
99
<fields>
10-
<qty />
1110
<attribute>
1211
<selector>//div[@class="product-options"]//label[.="%s"]//following-sibling::*//select</selector>
1312
<strategy>xpath</strategy>

dev/tests/functional/tests/app/Magento/Downloadable/Test/Block/Adminhtml/Product/Composite/Configure.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
-->
88
<mapping strict="0">
99
<fields>
10-
<qty />
1110
<link>
1211
<selector>//*[@id="downloadable-links-list"]/*[contains(.,"%link_name%")]//input</selector>
1312
<strategy>xpath</strategy>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
declare(strict_types=1);
7+
8+
9+
namespace Magento\Integration\Block\Adminhtml\System\Config;
10+
11+
class OauthSectionTest extends \Magento\TestFramework\TestCase\AbstractBackendController
12+
{
13+
/**
14+
* Checks that OAuth Section in the system config is loaded
15+
*/
16+
public function testOAuthSection()
17+
{
18+
$this->dispatch('backend/admin/system_config/edit/section/oauth/');
19+
$body = $this->getResponse()->getBody();
20+
$this->assertContains('id="oauth_access_token_lifetime-head"', $body);
21+
$this->assertContains('id="oauth_cleanup-head"', $body);
22+
$this->assertContains('id="oauth_consumer-head"', $body);
23+
$this->assertContains('id="oauth_authentication_lock-head"', $body);
24+
}
25+
}

0 commit comments

Comments
 (0)