Commit cacafd1d authored by Nicolas Dumazet's avatar Nicolas Dumazet

Improve breadcrumbs test when short title is present:

  - already existing test tests that when short title is not here, title is used
  - this commit makes sure that when both title and short title are here,
    short title is used.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32891 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aaf2aa4a
......@@ -81,6 +81,21 @@
<td>breadcrumb</td>\n
<td>ERP5*/*Foos*/*Title 0*/</td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_short_title</td>\n
<td>short</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@title=\'Save\']</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>assertText</td>\n
<td>breadcrumb</td>\n
<td>ERP5*/*Foos*/*short*/</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//div[@id=\'breadcrumb\']/a[3]</td>\n
......
......@@ -105,6 +105,7 @@
<list>
<string>my_id</string>
<string>my_title</string>
<string>my_short_title</string>
<string>foo_category_title</string>
<string>my_foo_category_title</string>
<string>my_fake_category_title</string>
......
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