Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 40c8106

Browse files
committed
MAGETWO-72867: Product Grid filtered to Store View is broken if corresponding Store is deleted
1 parent 690eda1 commit 40c8106

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Constraint/AssertResetFilterMessage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public function processAssert(
2222
) {
2323
\PHPUnit_Framework_Assert::assertContains(
2424
'restored the filter to its original state',
25-
$catalogProductIndex->getMessagesBlock()->getErrorMessage()
25+
$catalogProductIndex->getMessagesBlock()->getErrorMessage(),
26+
"Can't find proper message"
2627
);
2728
}
2829

dev/tests/functional/tests/app/Magento/Store/Test/TestStep/DeleteWebsitesEntityStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Magento\Mtf\Fixture\FixtureInterface;
1717

1818
/**
19-
* Test Step for DeleteStoreEntity
19+
* Test Step for DeleteWebsitesEntity.
2020
*/
2121
class DeleteWebsitesEntityStep implements TestStepInterface
2222
{

dev/tests/functional/tests/app/Magento/Ui/Test/TestCase/GridFilteringDeletedEntityTest.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717
* 1. Create items
1818
*
1919
* Steps:
20-
* 1. Navigate to backend.
21-
* 2. Go to grid page
22-
* 3. Filter grid using provided columns
23-
* 5. Perform Asserts
20+
* 1. Log in to Admin.
21+
* 2. Go to grid page.
22+
* 3. Apply filter by Store View.
23+
* 4. Delete Website.
24+
* 5. Go to grid page.
25+
* 6. Perform Asserts.
2426
*
2527
* @group Ui
26-
* @ZephyrId MAGETWO-88982
28+
* @ZephyrId MAGETWO-89042
2729
*/
2830
class GridFilteringDeletedEntityTest extends Injectable
2931
{

0 commit comments

Comments
 (0)