Commit 68456051 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity&test: define form if not yet

parent 5402c662
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
logo_url python: web_site.getLayoutProperty('layout_logo_reference') or None; logo_url python: web_site.getLayoutProperty('layout_logo_reference') or None;
js_list python: context.WebSite_getJavaScriptRelativeUrlList(scope='global'); js_list python: context.WebSite_getJavaScriptRelativeUrlList(scope='global');
css_list python: web_site.WebSite_getCssRelativeUrlList(scope='global'); css_list python: web_site.WebSite_getCssRelativeUrlList(scope='global');
form nocall: form | nothing;
request python: context.REQUEST;"> request python: context.REQUEST;">
<!DOCTYPE html> <!DOCTYPE html>
<html tal:attributes="class python: 'ci-%s' % (theme)" prefix="og: http://ogp.me/ns#"> <html tal:attributes="class python: 'ci-%s' % (theme)" prefix="og: http://ogp.me/ns#">
......
...@@ -72,6 +72,21 @@ ...@@ -72,6 +72,21 @@
<td>//ul/li[2]/a[text()='Template Test Web FAQ 2' and @href='Template.Test.Web.FAQ2']</td> <td>//ul/li[2]/a[text()='Template Test Web FAQ 2' and @href='Template.Test.Web.FAQ2']</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/web_site_module/template_test_web_site/login_form</td>
<td></td>
</tr>
<tr>
<td>verifyElementNotPresent</td>
<td>//ul/li[2]/a[text()='Template Test Web FAQ 2' and @href='Template.Test.Web.FAQ2']</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>//div[@class='ci-web-header-bar-logo']//span[text()='Template Test Web Site']</td>
<td></td>
</tr>
</tbody></table> </tbody></table>
</body> </body>
......
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