File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
app/code/Magento/CatalogSearch/Test/Mftf/Test
dev/tests/integration/testsuite/Magento/Cms/Model Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 27
27
<actionGroup ref =" StorefrontFillFormAdvancedSearchActionGroup" stepKey =" search" >
28
28
<argument name =" price_to" value =" 100" />
29
29
</actionGroup >
30
- <see userInput =" 2 items" selector =" {{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey =" see" />
30
+ <!-- See that some items were found, other products may exist besides our test products -->
31
+ <see userInput =" items" selector =" {{StorefrontCatalogSearchAdvancedResultMainSection.itemFound}}" stepKey =" see" />
31
32
<see userInput =" $$createProduct2.name$$" selector =" {{StorefrontCatalogSearchAdvancedResultMainSection.productName}}" stepKey =" seeProduct2Name" after =" seeProductName" />
32
33
</test >
33
34
</tests >
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function testSaveUpdateXml(): void
54
54
$ page = $ this ->repo ->save ($ page );
55
55
56
56
//New value is not accepted.
57
- $ page ->setCustomLayoutUpdateXml ($ page -> getCustomLayoutUpdateXml () . ' TEST ' );
57
+ $ page ->setCustomLayoutUpdateXml (' <container name="new_container_for_save_update_xml" /> ' );
58
58
$ forbidden = false ;
59
59
try {
60
60
$ page = $ this ->repo ->save ($ page );
@@ -64,7 +64,7 @@ public function testSaveUpdateXml(): void
64
64
$ this ->assertTrue ($ forbidden );
65
65
66
66
//New value is not accepted.
67
- $ page ->setLayoutUpdateXml ($ page -> getLayoutUpdateXml () . ' TEST ' );
67
+ $ page ->setLayoutUpdateXml (' <container name="new_container_for_save_update_xml2" /> ' );
68
68
$ forbidden = false ;
69
69
try {
70
70
$ page = $ this ->repo ->save ($ page );
You can’t perform that action at this time.
0 commit comments