Commit d50201f9 authored by Jérome Perrin's avatar Jérome Perrin

Call assertSelected befor calling selectAndWait, to prevent selenium from...

Call assertSelected befor calling selectAndWait, to prevent selenium from hanging if the value is already selected

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23500 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 995db490
...@@ -231,6 +231,11 @@ Test Transactions related to an Organisation, with start date\n ...@@ -231,6 +231,11 @@ Test Transactions related to an Organisation, with start date\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- Second page {{{ -->\n <!-- Second page {{{ -->\n
<tr>\n
<td>assertSelected</td>\n
<td>listbox_page_selection</td>\n
<td>label=1 of 3</td>\n
</tr>\n
<tr>\n <tr>\n
<td>selectAndWait</td>\n <td>selectAndWait</td>\n
<td>listbox_page_selection</td>\n <td>listbox_page_selection</td>\n
...@@ -287,6 +292,11 @@ Test Transactions related to an Organisation, with start date\n ...@@ -287,6 +292,11 @@ Test Transactions related to an Organisation, with start date\n
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- {{{ Tear down -->\n <!-- {{{ Tear down -->\n
<tr>\n
<td>assertSelected</td>\n
<td>listbox_page_selection</td>\n
<td>label=2 of 3</td>\n
</tr>\n
<tr>\n <tr>\n
<td>selectAndWait</td>\n <td>selectAndWait</td>\n
<td>listbox_page_selection</td>\n <td>listbox_page_selection</td>\n
......
...@@ -115,6 +115,11 @@ Test Transactions related to an Organisation, with multiple pages and date range ...@@ -115,6 +115,11 @@ Test Transactions related to an Organisation, with multiple pages and date range
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- {{{ check second page -->\n <!-- {{{ check second page -->\n
<tr>\n
<td>assertSelected</td>\n
<td>listbox_page_selection</td>\n
<td>1 of 3</td>\n
</tr>\n
<tr>\n <tr>\n
<td>selectAndWait</td>\n <td>selectAndWait</td>\n
<td>listbox_page_selection</td>\n <td>listbox_page_selection</td>\n
...@@ -208,6 +213,11 @@ Test Transactions related to an Organisation, with multiple pages and date range ...@@ -208,6 +213,11 @@ Test Transactions related to an Organisation, with multiple pages and date range
<!-- }}} -->\n <!-- }}} -->\n
\n \n
<!-- {{{ tear down -->\n <!-- {{{ tear down -->\n
<tr>\n
<td>assertSelected</td>\n
<td>listbox_page_selection</td>\n
<td>2 of 3</td>\n
</tr>\n
<tr>\n <tr>\n
<td>selectAndWait</td>\n <td>selectAndWait</td>\n
<td>listbox_page_selection</td>\n <td>listbox_page_selection</td>\n
......
96 97
\ No newline at end of file \ No newline at end of file
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