Skip to content

Commit 752af5b

Browse files
committed
Merge branch 'MAGETWO-49084' of github.corp.magento.com:magento-troll/magento2ce into TrollS51Bugfixes
2 parents 2d8e17f + 8d4a081 commit 752af5b

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SwitcherElement extends SimpleElement
1717
*
1818
* @var string
1919
*/
20-
protected $parentContainer = 'parent::div[@class="switcher"]';
20+
protected $parentContainer = 'parent::div[@data-role="switcher"]';
2121

2222
/**
2323
* Set value to Yes or No.

dev/tests/functional/tests/app/Magento/Catalog/Test/Page/Category/CatalogCategory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class CatalogCategory extends Page
2525
*
2626
* @var string
2727
*/
28-
protected $formBlock = '.entry-edit';
28+
protected $formBlock = '//div[contains(@data-bind, "category_form")]';
2929

3030
/**
3131
* Categories tree block.
@@ -80,7 +80,7 @@ public function open(array $params = [])
8080
public function getFormBlock()
8181
{
8282
return Factory::getBlockFactory()->getMagentoCatalogAdminhtmlCategoryEditCategoryForm(
83-
$this->browser->find($this->formBlock, Locator::SELECTOR_CSS)
83+
$this->browser->find($this->formBlock, Locator::SELECTOR_XPATH)
8484
);
8585
}
8686

dev/tests/functional/tests/app/Magento/Catalog/Test/Page/Category/CatalogCategoryEdit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class CatalogCategoryEdit extends Page
2626
*
2727
* @var string
2828
*/
29-
protected $formBlock = '.entry-edit';
29+
protected $formBlock = '//div[contains(@data-bind, "category_form")]';
3030

3131
/**
3232
* Categories tree block.

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Category/CreateCategoryEntityTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public function __inject(CatalogCategoryIndex $catalogCategoryIndex, CatalogCate
6969
*/
7070
public function test(Category $category, $addCategory)
7171
{
72-
$this->markTestIncomplete('MAGETWO-48731');
7372
$this->catalogCategoryIndex->open();
7473
$this->catalogCategoryIndex->getTreeCategories()->selectCategory($category, false);
7574
$this->catalogCategoryIndex->getTreeCategories()->$addCategory();

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Category/CreateCategoryEntityTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryForm" />
139139
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryPage" />
140140
</variation>
141-
<variation name="CreateCategoryEntityTestVariation9_WithProducts" summary="Assign Products at the Category Level" ticketId="MAGETWO-16351">
141+
<variation name="CreateCategoryEntityTestVariation8_WithProducts" summary="Assign Products at the Category Level" ticketId="MAGETWO-16351">
142142
<data name="tag" xsi:type="string">test_type:acceptance_test, test_type:extended_acceptance_test</data>
143143
<data name="addCategory" xsi:type="string">addSubcategory</data>
144144
<data name="category/data/parent_id/dataset" xsi:type="string">default_category</data>
@@ -149,7 +149,7 @@
149149
<constraint name="Magento\Catalog\Test\Constraint\AssertCategorySaveMessage" />
150150
<constraint name="Magento\Catalog\Test\Constraint\AssertCategoryForAssignedProducts" />
151151
</variation>
152-
<variation name="CreateCategoryEntityTestVariation10_ThreeNesting">
152+
<variation name="CreateCategoryEntityTestVariation9_ThreeNesting">
153153
<data name="tag" xsi:type="string">test_type:extended_acceptance_test</data>
154154
<data name="description" xsi:type="string">Create category with three nesting</data>
155155
<data name="addCategory" xsi:type="string">addSubcategory</data>

0 commit comments

Comments
 (0)