From 8d8386f10f9103cbc7f4522918d93919ba0ce72c Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Tue, 15 Jun 2010 07:04:44 +0000 Subject: [PATCH] Use test id rather than hard coded titles which makes email tests report reading a bit easier. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36334 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_tests/erp5_km_zuite/testAdvancedSearch.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testCreateNewFile.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testCreateNewLink.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testCreatePerson.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testFooter.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testMyDocumentsGadget.xml | 4 ++-- .../erp5_km_zuite/testSetUnSetDefaultWebPageOnWebSection.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testSubsections.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml | 4 ++-- .../erp5_km_zuite/testTopSearchBoxHittingEnter.xml | 4 ++-- .../portal_tests/erp5_km_zuite/testWebSiteBrowserGadget.xml | 4 ++-- bt5/erp5_km_ui_test/bt/revision | 2 +- 12 files changed, 23 insertions(+), 23 deletions(-) diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testAdvancedSearch.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testAdvancedSearch.xml index 732e5c0f0b..47fe688a60 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testAdvancedSearch.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testAdvancedSearch.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box hitting Enter</title>\n +<title tal:content="template/getId"/>\n </head>\n <body>\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test a search on the top box hitting enter</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n \n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewFile.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewFile.xml index 75b037d1fd..c1290d2884 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewFile.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewFile.xml @@ -43,13 +43,13 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box Clicking</title>\n +<title tal:content="template/getId"/>\n </head>\n <body tal:define="file_name string:tiolive-ERP5.DMS.TioLive-001-en.odp;\n full_filename_location python: here.Zuite_getFilenameLocation(file_name)">\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test a search on the top box clicking on the search button</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n <tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewLink.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewLink.xml index 0a87c8a8fa..d727b10de5 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewLink.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreateNewLink.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box Clicking</title>\n +<title tal:content="template/getId"/>\n </head>\n <body>\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test a search on the top box clicking on the search button</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n <tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreatePerson.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreatePerson.xml index 3b315ca777..9900416109 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreatePerson.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testCreatePerson.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Test create person in KM</title>\n +<title tal:content="template/getId"/>\n </head>\n <body >\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test create person in KM</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n \n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testFooter.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testFooter.xml index 0dc264c622..90dd1a629d 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testFooter.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testFooter.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box hitting Enter</title>\n +<title tal:content="template/getId"/>\n </head>\n <body>\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test Footer is rendered from Web Page</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n \n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testMyDocumentsGadget.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testMyDocumentsGadget.xml index 0035413264..21c816580b 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testMyDocumentsGadget.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testMyDocumentsGadget.xml @@ -43,13 +43,13 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box Clicking</title>\n +<title tal:content="template/getId"/>\n </head>\n <body tal:define="file_name string:tiolive-ERP5.Freedom.TioLive.Spreadsheet-001-en.ods;\n full_filename_location python: here.Zuite_getFilenameLocation(file_name)">\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test My Documents gadget</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n <tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSetUnSetDefaultWebPageOnWebSection.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSetUnSetDefaultWebPageOnWebSection.xml index 9af37a9028..0c788f7218 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSetUnSetDefaultWebPageOnWebSection.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSetUnSetDefaultWebPageOnWebSection.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box hitting Enter</title>\n +<title tal:content="template/getId"/>\n </head>\n <body tal:define="page_uid python: here.Zuite_getObjectUid(portal_type=\'Web Page\', title=\'%test_km%\')">\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test set default Web Page on Web Section</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n \n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSubsections.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSubsections.xml index ee3a67985d..1c2ef99d14 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSubsections.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testSubsections.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box hitting Enter</title>\n +<title tal:content="template/getId"/>\n </head>\n <body>\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test Footer is rendered from Web Page</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n \n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml index 13d650cd1b..6dd619dd36 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxClicking.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box Clicking</title>\n +<title tal:content="template/getId"/>\n </head>\n <body>\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test a search on the top box clicking on the search button</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n <tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxHittingEnter.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxHittingEnter.xml index 90e9df96f0..976af8b41c 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxHittingEnter.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testTopSearchBoxHittingEnter.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Search Top Box hitting Enter</title>\n +<title tal:content="template/getId"/>\n </head>\n <body>\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test a search on the top box hitting enter</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n \n diff --git a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testWebSiteBrowserGadget.xml b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testWebSiteBrowserGadget.xml index f06d38631f..943f95d10f 100644 --- a/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testWebSiteBrowserGadget.xml +++ b/bt5/erp5_km_ui_test/PathTemplateItem/portal_tests/erp5_km_zuite/testWebSiteBrowserGadget.xml @@ -43,12 +43,12 @@ xmlns:metal="http://xml.zope.org/namespaces/metal">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n -<title>Test create person in KM</title>\n +<title tal:content="template/getId"/>\n </head>\n <body >\n <table cellpadding="1" cellspacing="1" border="1">\n <thead>\n -<tr><td rowspan="1" colspan="3">Test create person in KM</td></tr>\n +<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n </thead><tbody>\n \n \n diff --git a/bt5/erp5_km_ui_test/bt/revision b/bt5/erp5_km_ui_test/bt/revision index 4b6f9c39e5..b44fe09a7a 100644 --- a/bt5/erp5_km_ui_test/bt/revision +++ b/bt5/erp5_km_ui_test/bt/revision @@ -1 +1 @@ -64 \ No newline at end of file +65 \ No newline at end of file -- 2.30.9