-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAGETWO-54935: [Github #1931] Cancellation of element removal in layo…
…uts doesn't work -- integration test
- Loading branch information
Karpenko, Oleksandr
authored and
Tommy Quissens
committed
Mar 23, 2018
1 parent
44746e0
commit 2423fac
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...on/testsuite/Magento/Framework/View/_files/layout_directives_test/remove_cancellation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © 2016 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<layout> | ||
<container name="container1" label="Container 1"> | ||
<block class="Magento\Framework\View\Element\Text" name="no_name2"/> | ||
</container> | ||
<referenceContainer name="container1" remove="true"/> | ||
<referenceBlock name="child_block1" remove="true"/> | ||
<block class="Magento\Framework\View\Element\Text" name="block_container" as="block.container"> | ||
<block class="Magento\Framework\View\Element\Text" name="child_block1"/> | ||
<block class="Magento\Framework\View\Element\Text" name="child_block2"/> | ||
</block> | ||
<referenceContainer name="not_exist" remove="false"/> | ||
<referenceContainer name="container1" remove="false"/> | ||
<referenceBlock name="child_block1" remove="false"/> | ||
</layout> |