Skip to content

Commit a74af51

Browse files
author
lestare
committed
MAGETWO-60718: [FT] CreateCmsPageEntityTest variations fail on AssertCmsPageForm
1 parent a21c443 commit a74af51

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,19 @@ public function setValue($values)
119119
}
120120
}
121121

122+
/**
123+
* {@inheritdoc}
124+
*/
125+
public function deselectAll()
126+
{
127+
$options = $this->getSelectedOptions();
128+
129+
/** @var SimpleElement $option */
130+
foreach ($options as $option) {
131+
$option->click();
132+
}
133+
}
134+
122135
/**
123136
* Select option
124137
*
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © 2016 Magento. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="../../../../../vendor/magento/mtf/Magento/Mtf/TestRunner/etc/testRunner.xsd">
10+
<rule scope="testsuite">
11+
<allow>
12+
<namespace value="Magento/Cms/Test/TestCase/CreateCmsPageEntityTest" />
13+
</allow>
14+
</rule>
15+
</config>

0 commit comments

Comments
 (0)