File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
dev/tests/functional/tests/app/Magento
CatalogSearch/Test/TestCase
Customer/Test/Block/Adminhtml/Edit
Store/Test/Handler/StoreGroup Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/mtf/etc/variations.xsd" >
9
9
<testCase name =" Magento\CatalogSearch\Test\TestCase\SuggestSearchingResultEntityTest" summary =" Suggest Searching Results" ticketId =" MAGETWO-24671, MAGETWO-23186" >
10
10
<variation name =" SuggestSearchingResultEntityTestVariation1" summary =" Auto-complete search with product name" ticketId =" MAGETWO-24671" >
11
- <data name =" tag" xsi : type =" string" >stable:no</data >
12
11
<data name =" searchTerm/data/query_text/value" xsi : type =" string" >catalogProductSimple::name</data >
13
12
<data name =" searchTerm/data/num_results" xsi : type =" string" >-</data >
14
13
<constraint name =" Magento\CatalogSearch\Test\Constraint\AssertSuggestSearchingResult" />
15
14
</variation >
16
15
<variation name =" SuggestSearchingResultEntityTestVariation2" summary =" Auto-complete search with product sku" ticketId =" MAGETWO-24671" >
17
- <data name =" tag" xsi : type =" string" >stable:no</data >
18
16
<data name =" searchTerm/data/query_text/value" xsi : type =" string" >catalogProductSimple::sku</data >
19
17
<data name =" searchTerm/data/num_results" xsi : type =" string" >1</data >
20
18
<constraint name =" Magento\CatalogSearch\Test\Constraint\AssertSuggestSearchingResult" />
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class CustomerForm extends FormTabs
22
22
*
23
23
* @var string
24
24
*/
25
- protected $ spinner = '[data-role="spinner"] ' ;
25
+ protected $ spinner = '#container [data-role="spinner"] ' ;
26
26
27
27
/**
28
28
* Customer form to load.
@@ -46,7 +46,7 @@ class CustomerForm extends FormTabs
46
46
protected $ fieldWrapperControl = './/*[contains(@class, "admin__field")]/*[contains(@class,"control")] ' ;
47
47
48
48
/**
49
- * Selector for wainting tab content to load.
49
+ * Selector for waiting tab content to load.
50
50
*
51
51
* @var string
52
52
*/
@@ -179,6 +179,8 @@ public function getJsErrors()
179
179
*/
180
180
public function getPersonalInformation ($ title )
181
181
{
182
- return $ this ->_rootElement ->find (sprintf ($ this ->information , $ title ), Locator::SELECTOR_XPATH )->getText ();
182
+ return $ this ->_rootElement
183
+ ->find (sprintf ($ this ->information , $ title ), Locator::SELECTOR_XPATH )
184
+ ->getText ();
183
185
}
184
186
}
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ protected function prepareData(FixtureInterface $fixture)
84
84
'root_category_id ' => $ categoryId ,
85
85
'website_id ' => $ websiteId ,
86
86
'group_id ' => $ fixture ->hasData ('group_id ' ) ? $ fixture ->getGroupId () : '' ,
87
- 'code ' => $ fixture ->getData ()['code ' ],
87
+ 'code ' => $ fixture ->hasData ( ' code ' ) ? $ fixture -> getData ()['code ' ] : '' ,
88
88
],
89
89
'store_action ' => 'add ' ,
90
90
'store_type ' => 'group ' ,
You can’t perform that action at this time.
0 commit comments