Skip to content

Commit 1d56dd8

Browse files
author
bshevchenko
committed
MAGETWO-96705: Cart Price Rule with related Banner for specific Customer Segment is persisted under long-term cookie
1 parent 76ea0c3 commit 1d56dd8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/code/Magento/SalesRule/Test/Mftf/Section/AdminCartPriceRulesFormSection.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,14 @@
2626

2727
<!-- Conditions sub-form -->
2828
<element name="conditionsHeader" type="button" selector="div[data-index='conditions']" timeout="30"/>
29+
<element name="conditionsHeaderOpen" type="button" selector="div[data-index='conditions'] div[data-state-collapsible='open']" timeout="30"/>
2930
<element name="addCondition" type="button" selector="//*[@id='conditions__{{arg}}__children']//span" parameterized="true"/>
3031
<element name="ruleCondition" type="select" selector="rule[conditions][{{arg}}][new_child]" parameterized="true"/>
3132
<element name="ruleParameter" type="text" selector="//span[@class='rule-param']/a[contains(text(), '{{arg}}')]" parameterized="true"/>
3233
<element name="ruleOperatorSelect" type="select" selector="rule[conditions][{{arg}}][operator]" parameterized="true"/>
3334
<element name="ruleValueInput" type="input" selector="rule[conditions][{{arg}}][value]" parameterized="true"/>
3435
<element name="chooseValue" type="button" selector="label[for='conditions__{{arg}}__value']" parameterized="true"/>
3536
<element name="categoryCheckbox" type="checkbox" selector="//span[contains(text(), '{{arg}}')]/parent::a/preceding-sibling::input[@type='checkbox']" parameterized="true"/>
36-
37-
<!-- Conditions sub-form -->
38-
<element name="conditionsHeader" type="button" selector="div[data-index='conditions']" timeout="30"/>
39-
<element name="conditionsHeaderOpen" type="button" selector="div[data-index='conditions'] div[data-state-collapsible='open']" timeout="30"/>
4037
<element name="conditionsValue" type="input" selector=".rule-param-edit input"/>
4138
<element name="conditionsOperator" type="select" selector=".rule-param-edit select"/>
4239

0 commit comments

Comments
 (0)