Skip to content

Commit 71cafe4

Browse files
author
Dmytro Aponasenko
committed
MTA-1499: Analyse functional test failures
1 parent 8aa00fb commit 71cafe4

File tree

30 files changed

+110
-676
lines changed

30 files changed

+110
-676
lines changed

dev/tests/functional/lib/Magento/Mtf/Client/Element/OptgroupselectElement.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
*/
1515
class OptgroupselectElement extends SelectElement
1616
{
17+
/**
18+
* Option locator
19+
*
20+
* @var string
21+
*/
22+
protected $optionByIndex = './/optgroup/option[%d]';
23+
1724
/**
1825
* Option group selector
1926
*

dev/tests/functional/lib/Magento/Mtf/Client/Element/SelectstoreElement.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@
1313
*/
1414
class SelectstoreElement extends SelectElement
1515
{
16+
/**
17+
* Option locator
18+
*
19+
* @var string
20+
*/
21+
protected $optionByIndex = './/optgroup/option[%d]';
22+
1623
/**
1724
* Store option group selector.
1825
*

dev/tests/functional/tests/app/Magento/Bundle/Test/Fixture/BundleProduct/CheckoutData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ protected function getPreset($name)
7070
],
7171
],
7272
],
73-
'qty' => 2,
73+
'qty' => 1,
7474
'cartItem' => [
7575
'price' => 756,
76-
'qty' => 2,
76+
'qty' => 1,
7777
'subtotal' => 756,
7878
],
7979
],

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Search extends Block
2020
*
2121
* @var string
2222
*/
23-
protected $searchAutocomplete = './/div[@id="search_autocomplete"]//li[text()="%s"]';
23+
protected $searchAutocomplete = './/div[@id="search_autocomplete"]//li[span[text()="%s"]]';
2424

2525
/**
2626
* Selector number of matches for a given row

0 commit comments

Comments
 (0)