Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
4f2aa6f8
Commit
4f2aa6f8
authored
Sep 08, 2021
by
Boxiang Sun
Committed by
Romain Courteaud
Sep 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_advanced_ecommerce_test: Stablizing fixup
parent
6dd922c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
2 deletions
+53
-2
bt5/erp5_advanced_ecommerce_test/PathTemplateItem/portal_tests/advanced_ecommerce_zuite/test019SaleWithLoyaltyPoint.zpt
.../advanced_ecommerce_zuite/test019SaleWithLoyaltyPoint.zpt
+31
-0
bt5/erp5_advanced_ecommerce_test/PathTemplateItem/portal_tests/advanced_ecommerce_zuite/test020EnableDisableLoyaltyReward.zpt
...ced_ecommerce_zuite/test020EnableDisableLoyaltyReward.zpt
+11
-1
bt5/erp5_advanced_ecommerce_test/PathTemplateItem/portal_tests/advanced_ecommerce_zuite/test022NoLoyaltyPointForAnonymous.zpt
...ced_ecommerce_zuite/test022NoLoyaltyPointForAnonymous.zpt
+11
-1
No files found.
bt5/erp5_advanced_ecommerce_test/PathTemplateItem/portal_tests/advanced_ecommerce_zuite/test019SaleWithLoyaltyPoint.zpt
View file @
4f2aa6f8
...
...
@@ -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>
...
...
bt5/erp5_advanced_ecommerce_test/PathTemplateItem/portal_tests/advanced_ecommerce_zuite/test020EnableDisableLoyaltyReward.zpt
View file @
4f2aa6f8
...
...
@@ -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>
...
...
bt5/erp5_advanced_ecommerce_test/PathTemplateItem/portal_tests/advanced_ecommerce_zuite/test022NoLoyaltyPointForAnonymous.zpt
View file @
4f2aa6f8
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment