Skip to content

Commit ff03572

Browse files
committed
MAGETWO-60590: [FT] CreateCmsBlockEntityTestVariation2 fails to fill form
1 parent a21c443 commit ff03572

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

dev/tests/functional/tests/app/Magento/Cms/Test/Block/Adminhtml/Block/Edit/BlockForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function clickInsertVariable()
6464
public function getWysiwygConfig()
6565
{
6666
return $this->blockFactory->create(
67-
'Magento\Cms\Test\Block\Adminhtml\Wysiwyg\Config',
67+
\Magento\Cms\Test\Block\Adminhtml\Wysiwyg\Config::class,
6868
['element' => $this->_rootElement->find($this->customVariableBlock, Locator::SELECTOR_XPATH)]
6969
);
7070
}

dev/tests/functional/tests/app/Magento/Cms/Test/Block/Adminhtml/Block/Edit/CmsForm.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<input>multiselectgrouplist</input>
1313
</stores>
1414
<is_active>
15-
<selector>.admin__actions-switch-label</selector>
1615
<input>switcher</input>
1716
</is_active>
1817
</fields>

dev/tests/functional/tests/app/Magento/Cms/Test/Block/Adminhtml/Page/Edit/Tab/Content.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function clickInsertWidget(SimpleElement $element = null)
109109
public function getWysiwygConfig()
110110
{
111111
return $this->blockFactory->create(
112-
'Magento\Cms\Test\Block\Adminhtml\Wysiwyg\Config',
112+
\Magento\Cms\Test\Block\Adminhtml\Wysiwyg\Config::class,
113113
['element' => $this->_rootElement->find($this->systemVariableBlock, Locator::SELECTOR_XPATH)]
114114
);
115115
}
@@ -122,7 +122,7 @@ public function getWysiwygConfig()
122122
public function getWidgetBlock()
123123
{
124124
return $this->blockFactory->create(
125-
'Magento\Widget\Test\Block\Adminhtml\WidgetForm',
125+
\Magento\Widget\Test\Block\Adminhtml\WidgetForm::class,
126126
['element' => $this->_rootElement->find($this->widgetBlock, Locator::SELECTOR_XPATH)]
127127
);
128128
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © 2016 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="../../../../../vendor/magento/mtf/Magento/Mtf/TestRunner/etc/testRunner.xsd">
10+
<rule scope="testsuite">
11+
<allow>
12+
<class value="Magento\Cms\Test\TestCase\CreateCmsBlockEntityTest" />
13+
</allow>
14+
</rule>
15+
</config>

0 commit comments

Comments
 (0)