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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
1780a1e9
Commit
1780a1e9
authored
Jun 28, 2019
by
Nicolas Wavrant
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_pdm_ui_test: update selenium test so it works in chrome
parent
165ca62b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
17 deletions
+10
-17
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
+10
-17
No files found.
bt5/erp5_pdm_ui_test/PathTemplateItem/portal_tests/pdm_zuite/resource_default_sale_supply_line_price_quantity_step.zpt
View file @
1780a1e9
...
...
@@ -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
<br
/>
20
</td>
<td>
10


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
Text
</td>
<td>
field_my_sale_supply_line_quantity_step_list
</td>
<td>
10.0
20.0
</td
>
<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
>
<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
<br
/>
bar
</td>
<td>
foo


bar
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
...
...
@@ -102,16 +102,9 @@ Test quantity steps for price on sale supply line
<td></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>
<td>
field_my_sale_supply_line_quantity_step_list
</td>
<td>
foo
bar
</td>
<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>
</tr>
<tr>
<td>
assertText
</td>
...
...
@@ -135,4 +128,4 @@ bar</td>
</tbody></table>
</body>
</html>
<!-- vim: syntax=html foldmethod=marker -->
<!-- vim: syntax=html foldmethod=marker -->
\ No newline at end of file
Nicolas Wavrant
@Nicolas
mentioned in commit
2281e3d3
·
Aug 06, 2019
mentioned in commit
2281e3d3
mentioned in commit 2281e3d3fe693fd05fca3b534748f83a7ddf4474
Toggle commit list
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