[CMF-checkins] CVS: CMF/functest/visitor - advanced_search.zft:1.2
become_member.zft:1.2 browse_homepage.zft:1.2
browse_topic.zft:1.2 log_in.zft:1.2 provide_feedback.zft:1.2
quick_search.zft:1.2
Tres Seaver
tseaver at zope.com
Sat Mar 6 13:37:06 EST 2004
Update of /cvs-repository/CMF/functest/visitor
In directory cvs.zope.org:/tmp/cvs-serv30457/functest/visitor
Modified Files:
advanced_search.zft become_member.zft browse_homepage.zft
browse_topic.zft log_in.zft provide_feedback.zft
quick_search.zft
Log Message:
- Accomodate new FT conventions.
=== CMF/functest/visitor/advanced_search.zft 1.1 => 1.2 ===
--- CMF/functest/visitor/advanced_search.zft:1.1 Thu Aug 29 19:05:40 2002
+++ CMF/functest/visitor/advanced_search.zft Sat Mar 6 13:37:05 2004
@@ -9,49 +9,49 @@
[Search_form]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search_form
+URL: %(site_host)s/%(site_path)s/search_form
Expected_Result: 200
[Q_text]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=content&Title=&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=
+URL: %(site_host)s/%(site_path)s/search?SearchableText=content&Title=&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=
Expected_Result: 200
[Q_subject]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=&Title=&Subject:list=Bar&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=
+URL: %(site_host)s/%(site_path)s/search?SearchableText=&Title=&Subject:list=Bar&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=
Expected_Result: 200
[Q_title]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=&Title=test&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=
+URL: %(site_host)s/%(site_path)s/search?SearchableText=&Title=test&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=
Expected_Result: 200
[Click_through]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/%(click_through_id)s/view
+URL: %(site_host)s/%(site_path)s/%(click_through_id)s/view
Expected_Result: 200
[Q_created]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=&Title=&Description=&created:date=2001/11/11&created_usage=range:min&Creator=
+URL: %(site_host)s/%(site_path)s/search?SearchableText=&Title=&Description=&created:date=2001/11/11&created_usage=range:min&Creator=
Expected_Result: 200
[Q_type]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=&Title=&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Type:list=Document&Creator=
+URL: %(site_host)s/%(site_path)s/search?SearchableText=&Title=&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Type:list=Document&Creator=
Expected_Result: 200
[Q_creator]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=&Title=&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=test_user
+URL: %(site_host)s/%(site_path)s/search?SearchableText=&Title=&Description=&created:date=1970/01/01+00:00:00+GMT&created_usage=range:min&Creator=test_user
Expected_Result: 200
[Teardown]
=== CMF/functest/visitor/become_member.zft 1.1 => 1.2 ===
--- CMF/functest/visitor/become_member.zft:1.1 Thu Aug 29 19:05:40 2002
+++ CMF/functest/visitor/become_member.zft Sat Mar 6 13:37:05 2004
@@ -9,19 +9,19 @@
[HomePage]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s
+URL: %(site_host)s/%(site_path)s
Expected_Result: 200
[JoinForm]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/join_form
+URL: %(site_host)s/%(site_path)s/join_form
Expected_Result: 200
[Join]
HTTP_Verb: POST
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/register
+URL: %(site_host)s/%(site_path)s/register
Field_1: last_visit:date=2001/11/12 17:21:03.25675 US/Eastern
Field_2: prev_visit:date=2001/11/12 17:21:03.25737 US/Eastern
Field_3: username=test_user
=== CMF/functest/visitor/browse_homepage.zft 1.1 => 1.2 ===
--- CMF/functest/visitor/browse_homepage.zft:1.1 Thu Aug 29 19:05:40 2002
+++ CMF/functest/visitor/browse_homepage.zft Sat Mar 6 13:37:05 2004
@@ -5,5 +5,5 @@
[Homepage]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s
+URL: %(site_host)s/%(site_path)s
Expected_Result: 200
=== CMF/functest/visitor/browse_topic.zft 1.1 => 1.2 ===
--- CMF/functest/visitor/browse_topic.zft:1.1 Thu Aug 29 19:05:40 2002
+++ CMF/functest/visitor/browse_topic.zft Sat Mar 6 13:37:05 2004
@@ -7,19 +7,19 @@
Function: browse_topic_setup
[Home_page]
-URL: %(portal_url)s/%(site_path)s
+URL: %(site_host)s/%(site_path)s
Expected_Result: 200
[Topic_view]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/%(topic_id)s
+URL: %(site_host)s/%(site_path)s/%(topic_id)s
Expected_Result: 200
[ClickThrough]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/%(click_through_id)s
+URL: %(site_host)s/%(site_path)s/%(click_through_id)s
Expected_Result: 200
[Teardown]
=== CMF/functest/visitor/log_in.zft 1.1 => 1.2 ===
--- CMF/functest/visitor/log_in.zft:1.1 Thu Aug 29 19:05:40 2002
+++ CMF/functest/visitor/log_in.zft Sat Mar 6 13:37:05 2004
@@ -7,26 +7,26 @@
Function: log_in_setup
[My_stuff_xxx]
-URL: %(portal_url)s/%(site_path)s/Members/%(userid)s/folder_contents
+URL: %(site_host)s/%(site_path)s/Members/%(userid)s/folder_contents
Expected_Result: 302
-Expected_Redirect: %(portal_url)s/%(site_path)s/login_form
+Expected_Redirect: %(site_host)s/%(site_path)s/login_form
[Login_form]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/login_form
+URL: %(site_host)s/%(site_path)s/login_form
Expected_Result: 200
[Logged_in]
HTTP_Verb: POST
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/logged_in
+URL: %(site_host)s/%(site_path)s/logged_in
Field_1: %(doh)sac_name:string=%(userid)s
Field_2: %(doh)sac_password:string=%(password)s
Expected_Result: 200
[My_stuff]
-URL: %(portal_url)s/%(site_path)s/Members/%(userid)s/folder_contents
+URL: %(site_host)s/%(site_path)s/Members/%(userid)s/folder_contents
Authentication: %(userid)s:%(password)s
Expected_Result: 200
=== CMF/functest/visitor/provide_feedback.zft 1.1 => 1.2 ===
--- CMF/functest/visitor/provide_feedback.zft:1.1 Thu Aug 29 19:05:40 2002
+++ CMF/functest/visitor/provide_feedback.zft Sat Mar 6 13:37:05 2004
@@ -9,19 +9,19 @@
[HomePage]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s
+URL: %(site_host)s/%(site_path)s
Expected_Result: 200
[LoginForm]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/login_form
+URL: %(site_host)s/%(site_path)s/login_form
Expected_Result: 200
[LogIn]
HTTP_Verb: POST
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/logged_in
+URL: %(site_host)s/%(site_path)s/logged_in
Field_1: __ac_name=test_user
Field_2: __ac_password=xyzzy
Field_3: __ac_persistent=1
@@ -31,13 +31,13 @@
[HomePage_loggedIn]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s
+URL: %(site_host)s/%(site_path)s
Expected_Result: 200
[NewsItem_1]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/test_news
+URL: %(site_host)s/%(site_path)s/test_news
Authentication: %(userid)s:%(password)s
Field_1: %(doh)sac_name:string=%(userid)s
Field_2: %(doh)sac_password:string=%(password)s
@@ -47,13 +47,13 @@
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
Authentication: %(userid)s:%(password)s
-URL: %(portal_url)s/%(site_path)s/test_news/discussion_reply_form
+URL: %(site_host)s/%(site_path)s/test_news/discussion_reply_form
Expected_Result: 200
[AddReply_1]
HTTP_Verb: POST
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/test_news/talkback
+URL: %(site_host)s/%(site_path)s/test_news/talkback
Authentication: %(userid)s:%(password)s
Field_1: title=This is a test
Field_2: text=How beautiful upon the hills are the feet of them
@@ -68,7 +68,7 @@
[NewsItem_2]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/test_news/newsitem_view
+URL: %(site_host)s/%(site_path)s/test_news/newsitem_view
Authentication: %(userid)s:%(password)s
Expected_Result: 200
@@ -78,7 +78,7 @@
#[Preview_1]
#HTTP_Verb: POST
#HTTP_Version: HTTP/1.0
-#URL: %(portal_url)s/%(site_path)s/test_news/talkback
+#URL: %(site_host)s/%(site_path)s/test_news/talkback
#Authentication: %(userid)s:%(password)s
#Field_1: Creator=test_user
#Field_2: title=This is a test
@@ -90,19 +90,19 @@
#[Request_018]
#HTTP_Verb: GET
#HTTP_Version: HTTP/1.0
-#URL: %(portal_url)s/%(site_path)s/test_news/talkback/1005604371
+#URL: %(site_host)s/%(site_path)s/test_news/talkback/1005604371
#Expected_Result: 200
#
#[Request_020]
#HTTP_Verb: GET
#HTTP_Version: HTTP/1.0
-#URL: %(portal_url)s/%(site_path)s/test_news/talkback/1005604371/discussion_reply_form
+#URL: %(site_host)s/%(site_path)s/test_news/talkback/1005604371/discussion_reply_form
#Expected_Result: 200
#
#[Request_022]
#HTTP_Verb: POST
#HTTP_Version: HTTP/1.0
-#URL: %(portal_url)s/%(site_path)s/test_news/talkback/1005604371/talkback
+#URL: %(site_host)s/%(site_path)s/test_news/talkback/1005604371/talkback
#Field_1: Creator=test_user
#Field_2: title=This is a test
#Field_3: text=My love is like a red, red rose.
@@ -112,19 +112,19 @@
#[Request_023]
#HTTP_Verb: GET
#HTTP_Version: HTTP/1.0
-#URL: %(portal_url)s/%(site_path)s/test_news/talkback/1005604371/discussionitem_view
+#URL: %(site_host)s/%(site_path)s/test_news/talkback/1005604371/discussionitem_view
#Expected_Result: 200
#
#[Request_024]
#HTTP_Verb: GET
#HTTP_Version: HTTP/1.0
-#URL: %(portal_url)s/%(site_path)s/test_news
+#URL: %(site_host)s/%(site_path)s/test_news
#Expected_Result: 200
#
#[Request_026]
#HTTP_Verb: GET
#HTTP_Version: HTTP/1.0
-#URL: %(portal_url)s/%(site_path)s/test_news?tree-e=eJyLVneEAl9PC1t1HQUE39fRVj0WAICLB9Q
+#URL: %(site_host)s/%(site_path)s/test_news?tree-e=eJyLVneEAl9PC1t1HQUE39fRVj0WAICLB9Q
#Expected_Result: 200
[Postcondition]
=== CMF/functest/visitor/quick_search.zft 1.1 => 1.2 ===
--- CMF/functest/visitor/quick_search.zft:1.1 Thu Aug 29 19:05:40 2002
+++ CMF/functest/visitor/quick_search.zft Sat Mar 6 13:37:05 2004
@@ -7,26 +7,26 @@
Function: quick_search_setup
[Home_page]
-URL: %(portal_url)s/%(site_path)s
+URL: %(site_host)s/%(site_path)s
Expected_Result: 200
[Search_ok]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=content
+URL: %(site_host)s/%(site_path)s/search?SearchableText=content
Expected_Result: 200
[ClickThrough]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/Members/test_user/index_html/view
+URL: %(site_host)s/%(site_path)s/Members/test_user/index_html/view
Authentication: %(userid)s:%(password)s
Expected_Result: 200
[Search_none]
HTTP_Verb: GET
HTTP_Version: HTTP/1.0
-URL: %(portal_url)s/%(site_path)s/search?SearchableText=zigabenyi&go.x=5&go.y=8
+URL: %(site_host)s/%(site_path)s/search?SearchableText=zigabenyi&go.x=5&go.y=8
Expected_Result: 200
[Teardown]
More information about the CMF-checkins
mailing list