File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
testsuites/Magento/Mtf/TestSuite/InjectableTests
tests/app/Magento/Cms/Test/Block/Adminhtml Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function clickInsertVariable()
64
64
public function getWysiwygConfig ()
65
65
{
66
66
return $ this ->blockFactory ->create (
67
- ' Magento\Cms\Test\Block\Adminhtml\Wysiwyg\Config ' ,
67
+ \ Magento \Cms \Test \Block \Adminhtml \Wysiwyg \Config::class ,
68
68
['element ' => $ this ->_rootElement ->find ($ this ->customVariableBlock , Locator::SELECTOR_XPATH )]
69
69
);
70
70
}
Original file line number Diff line number Diff line change 12
12
<input >multiselectgrouplist</input >
13
13
</stores >
14
14
<is_active >
15
- <selector >.admin__actions-switch-label</selector >
16
15
<input >switcher</input >
17
16
</is_active >
18
17
</fields >
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function clickInsertWidget(SimpleElement $element = null)
109
109
public function getWysiwygConfig ()
110
110
{
111
111
return $ this ->blockFactory ->create (
112
- ' Magento\Cms\Test\Block\Adminhtml\Wysiwyg\Config ' ,
112
+ \ Magento \Cms \Test \Block \Adminhtml \Wysiwyg \Config::class ,
113
113
['element ' => $ this ->_rootElement ->find ($ this ->systemVariableBlock , Locator::SELECTOR_XPATH )]
114
114
);
115
115
}
@@ -122,7 +122,7 @@ public function getWysiwygConfig()
122
122
public function getWidgetBlock ()
123
123
{
124
124
return $ this ->blockFactory ->create (
125
- ' Magento\Widget\Test\Block\Adminhtml\WidgetForm ' ,
125
+ \ Magento \Widget \Test \Block \Adminhtml \WidgetForm::class ,
126
126
['element ' => $ this ->_rootElement ->find ($ this ->widgetBlock , Locator::SELECTOR_XPATH )]
127
127
);
128
128
}
Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments