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
144
Merge Requests
144
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
2281e3d3
Commit
2281e3d3
authored
Aug 06, 2019
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "erp5_pdm_ui_test: update selenium test so it works in chrome"
This reverts commit
1780a1e9
.
parent
9bc72ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
10 deletions
+17
-10
bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_sale_supply_line_price_quantity_step.zpt
...resource_default_sale_supply_line_price_quantity_step.zpt
+17
-10
No files found.
bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_sale_supply_line_price_quantity_step.zpt
View file @
2281e3d3
...
...
@@ -21,7 +21,7 @@ Test quantity steps for price on sale supply line
<tr>
<td>
type
</td>
<td>
field_my_sale_supply_line_quantity_step_list
</td>
<td>
10


20
</td>
<td>
10
<br
/>
20
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
...
...
@@ -29,10 +29,10 @@ Test quantity steps for price on sale supply line
<td></td>
</tr>
<tr>
<td>
assert
Eval
</td>
<td>
selenium.browserbot.getCurrentWindow().document.getElementsByName("field_my_sale_supply_line_quantity_step_list")[0].value === "10.0\n20.0"
</td>
<td>
true
</td>
</tr
>
<td>
assert
Text
</td>
<td>
field_my_sale_supply_line_quantity_step_list
</td>
<td>
10.0
20.0
</td
>
<tr>
<td>
assertText
</td>
<td>
//input[@name="field_matrixbox_base_price_cell_0_0_0"]/../../../td[1]
</td>
...
...
@@ -94,7 +94,7 @@ Test quantity steps for price on sale supply line
<tr>
<td>
type
</td>
<td>
field_my_sale_supply_line_quantity_step_list
</td>
<td>
foo


bar
</td>
<td>
foo
<br
/>
bar
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
...
...
@@ -102,9 +102,16 @@ Test quantity steps for price on sale supply line
<td></td>
</tr>
<tr>
<td>
assertEval
</td>
<td>
selenium.browserbot.getCurrentWindow().document.getElementsByName("field_my_sale_supply_line_quantity_step_list")[0].value === "foo\nbar"
</td>
<td>
true
</td>
<td>
assertText
</td>
<td>
field_my_sale_supply_line_quantity_step_list
</td>
<td>
foo
bar
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
field_my_sale_supply_line_quantity_step_list
</td>
<td>
foo
bar
</td>
</tr>
<tr>
<td>
assertText
</td>
...
...
@@ -128,4 +135,4 @@ Test quantity steps for price on sale supply line
</tbody></table>
</body>
</html>
<!-- vim: syntax=html foldmethod=marker -->
\ No newline at end of file
<!-- vim: syntax=html foldmethod=marker -->
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