Commit 43da2839 authored by Boxiang Sun's avatar Boxiang Sun

erp5_advanced_ecommerce_test: Stablizing fixup

parent 18f73172
......@@ -158,6 +158,22 @@
<td>Your discount was enabled</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>Your discount was enabled</td>
<td></td>
</tr>
<tr>
<td>storeLocation</td>
<td>discountEnable</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td>openAndWait</td>
<td>${discountEnable}</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>//a[contains(@href, "test_colour_variation_product")]</td>
......@@ -198,18 +214,33 @@
<td>//div[@class="cart_right" and contains(text(), "-1.1")]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@class="cart_right" and contains(text(), "-1.1")]</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>//div[@class="cart_left" and contains(text(), "Discount")]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@class="cart_left" and contains(text(), "Discount")]</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>//div[@class="cart_right" and contains(text(), "9.9")]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//div[@class="cart_right" and contains(text(), "9.9")]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
......
......@@ -152,7 +152,17 @@
<td>Your discount was enabled</td>
<td></td>
</tr>
<tr>
<td>storeLocation</td>
<td>discountEnable</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td>openAndWait</td>
<td>${discountEnable}</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//div[@class="header_login"]</td>
......
......@@ -121,7 +121,17 @@
<td>Your discount was enabled</td>
<td></td>
</tr>
<tr>
<td>storeLocation</td>
<td>discountEnable</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/wait_for_activities" />
<tr>
<td>openAndWait</td>
<td>${discountEnable}</td>
<td></td>
</tr>
<!-- logout -->
<tr>
<td>clickAndWait</td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment