From: gdkhd812 Date: Wed, 2 Oct 2013 13:57:51 +0000 (+0900) Subject: テストケースを追加した X-Git-Url: http://git.osdn.jp/view?p=webchat%2FWebChat.git;a=commitdiff_plain;h=1be6ea0fbb0fd661c1d589add81b3423c1eb9ecc テストケースを追加した --- diff --git a/Test/Chat/Decoration.html b/Test/Chat/Decoration.html new file mode 100644 index 0000000..c6762ef --- /dev/null +++ b/Test/Chat/Decoration.html @@ -0,0 +1,47 @@ + + + + + + +Decoration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Decoration
open/chat#
clickname=enter
typename=message[b]this[/b] [i]is[/i] [s]a[/s] [size=3]pen[/size][size=0.7]named[/size] by neko.
clickname=sid
captureEntirePageScreenshotC:\Users\rirufa\Pictures\decoration_test.png
clickname=quit
+ + diff --git a/Test/Chat/EnterAndSayAndExit.html b/Test/Chat/EnterAndSayAndExit.html new file mode 100644 index 0000000..35e37a8 --- /dev/null +++ b/Test/Chat/EnterAndSayAndExit.html @@ -0,0 +1,62 @@ + + + + + + +EnterAndSayAndExit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EnterAndSayAndExit
open/chat
typename=nameneko
clickname=enter
waitForTextPresentnekoが入室しました
typename=messagetest
clickname=sid
waitForTextPresenttest
clickname=quit
waitForTextPresentnekoが退室しました
+ + diff --git a/Test/Chat/Tests b/Test/Chat/Tests new file mode 100644 index 0000000..9908da1 --- /dev/null +++ b/Test/Chat/Tests @@ -0,0 +1,15 @@ + + + + + + Test Suite + + + + + + +
Test Suite
EnterAndSayAndExit
Decoration
+ + diff --git a/Test/Profile/AddFailTestWhenAllEmpty.html b/Test/Profile/AddFailTestWhenAllEmpty.html new file mode 100644 index 0000000..e42f418 --- /dev/null +++ b/Test/Profile/AddFailTestWhenAllEmpty.html @@ -0,0 +1,41 @@ + + + + + + +AddFailTestWhenAllEmpty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddFailTestWhenAllEmpty
open/profile
clickAndWaitlink=登録
clickAndWaitname=registor
assertTextPresent名前:必須項目です
assertTextPresentパスワード:必須項目です
+ + diff --git a/Test/Profile/AddFailWhenMismatchPass.html b/Test/Profile/AddFailWhenMismatchPass.html new file mode 100644 index 0000000..584a34d --- /dev/null +++ b/Test/Profile/AddFailWhenMismatchPass.html @@ -0,0 +1,51 @@ + + + + + + +AddFailWhenMismatchPass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddFailWhenMismatchPass
open/profile
clickAndWaitlink=登録
typename=nameさびねこ
typename=passwordtest
typename=newpasswordtest2
clickAndWaitname=registor
assertTextPresentパスワード確認:パスワードと一致させなければなりません
+ + diff --git a/Test/Profile/AddTest.html b/Test/Profile/AddTest.html new file mode 100644 index 0000000..239a808 --- /dev/null +++ b/Test/Profile/AddTest.html @@ -0,0 +1,146 @@ + + + + + + +AddTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddTest
open/profile
clickAndWaitlink=登録
typename=nameさびねこ
typename=passwordtest
typename=newpasswordtest
typename=mailtotest2134@test.com
typename=age4
typename=height125
typename=weight43
typename=genderメス
typename=race人間
clickAndWaitname=registor
assertTextPresent登録に成功しました
clickAndWaitlink=TOP
clickAndWaitlink=登録
typename=nametest
typename=passwordtest
typename=newpasswordtest
typename=mailtotest2134@test.com
typename=age4
typename=height125
typename=weight54
typename=genderメス
typename=raceneko
clickAndWaitname=registor
assertTextPresent登録に成功しました
+ + diff --git a/Test/Profile/AddTestWhenNotUnique.html b/Test/Profile/AddTestWhenNotUnique.html new file mode 100644 index 0000000..70171ba --- /dev/null +++ b/Test/Profile/AddTestWhenNotUnique.html @@ -0,0 +1,81 @@ + + + + + + +AddTestWhenNotUnique + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddTestWhenNotUnique
open/profile
clickAndWaitlink=登録
typename=nameさびねこ
typename=passwordtest
typename=newpasswordtest
typename=mailtotest2134@test.com
typename=age4
typename=height125
typename=weight55
typename=genderメス
typename=race人間
clickAndWaitname=registor
assertTextPresentメッセージ
+ + diff --git a/Test/Profile/EditFailWhenMismatchPass.html b/Test/Profile/EditFailWhenMismatchPass.html new file mode 100644 index 0000000..dafac04 --- /dev/null +++ b/Test/Profile/EditFailWhenMismatchPass.html @@ -0,0 +1,56 @@ + + + + + + +EditFailWhenMismatchPass + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EditFailWhenMismatchPass
open/profile
clickAndWaitlink=さびねこ
typename=passwordtest
clickAndWaitname=edit
typename=passwordtest
typename=newpasswordtestx
clickAndWaitname=edit
assertTextPresentパスワード確認:パスワードと一致させなければなりません
+ + diff --git a/Test/Profile/EditPassTest.html b/Test/Profile/EditPassTest.html new file mode 100644 index 0000000..a8380ec --- /dev/null +++ b/Test/Profile/EditPassTest.html @@ -0,0 +1,76 @@ + + + + + + +EditPassTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EditPassTest
open/profile
clickAndWaitlink=さびねこ
typename=passwordtest
clickAndWaitname=edit
typename=passwordwifr59i3
typename=newpasswordwifr59i3
clickAndWaitname=edit
clickAndWaitlink=TOP
clickAndWaitlink=さびねこ
typename=passwordwifr59i3
clickAndWaitname=edit
assertTextPresent詳細画面
+ + diff --git a/Test/Profile/EditTest.html b/Test/Profile/EditTest.html new file mode 100644 index 0000000..acafe85 --- /dev/null +++ b/Test/Profile/EditTest.html @@ -0,0 +1,51 @@ + + + + + + +EditTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
EditTest
open/profile
clickAndWaitlink=さびねこ
typename=passwordtest
clickAndWaitname=edit
typename=mailtotest2134@test.com
clickAndWaitname=edit
assertTextPresent編集に成功しました
+ + diff --git a/Test/Profile/MoveToEditFail.html b/Test/Profile/MoveToEditFail.html new file mode 100644 index 0000000..8386b69 --- /dev/null +++ b/Test/Profile/MoveToEditFail.html @@ -0,0 +1,41 @@ + + + + + + +MoveToEditFail + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MoveToEditFail
open/profile
clickAndWaitlink=さびねこ
typename=passwordwifr59i3
clickAndWaitname=edit
assertTextPresentパスワードが一致しません
+ + diff --git a/Test/Profile/RemoveAllTest.html b/Test/Profile/RemoveAllTest.html new file mode 100644 index 0000000..7a41634 --- /dev/null +++ b/Test/Profile/RemoveAllTest.html @@ -0,0 +1,31 @@ + + + + + + +RemoveAllTest + + + + + + + + + + + + + + + + + + + + + +
RemoveAllTest
open/profile/admin
clickAndWaitname=removeall
assertTextPresent削除に成功しました
+ + diff --git a/Test/Profile/RemoveTest.html b/Test/Profile/RemoveTest.html new file mode 100644 index 0000000..550c8f9 --- /dev/null +++ b/Test/Profile/RemoveTest.html @@ -0,0 +1,46 @@ + + + + + + +RemoveTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
RemoveTest
open/profile/admin
clickname=names[]
clickname=names[]
clickxpath=(//input[@name='names[]'])[2]
clickAndWaitname=remove
assertTextPresent削除に成功しました
+ + diff --git a/Test/Profile/ShowDetail.html b/Test/Profile/ShowDetail.html new file mode 100644 index 0000000..b278f2a --- /dev/null +++ b/Test/Profile/ShowDetail.html @@ -0,0 +1,31 @@ + + + + + + +ShowDetail + + + + + + + + + + + + + + + + + + + + + +
ShowDetail
open/profile
clickAndWaitlink=さびねこ
assertTextPresentさびねこの詳細画面
+ + diff --git a/Test/Profile/Tests b/Test/Profile/Tests new file mode 100644 index 0000000..fa55054 --- /dev/null +++ b/Test/Profile/Tests @@ -0,0 +1,24 @@ + + + + + + Test Suite + + + + + + + + + + + + + + + +
Test Suite
AddTest
AddTestWhenNotUnique
AddFailTestWhenAllEmpty
AddFailWhenMismatchPass
ShowDetail
MoveToEditFail
EditTest
EditFailWhenMismatchPass
EditPassTest
RemoveTest
RemoveAllTest
+ +