| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Element-Name: CommentInReplyDialog |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _yuUjEGPfEea30cmg4vy5LA |
| Runtime-Version: 2.1.0.201605312320 |
| Save-Time: 8/18/16 5:23 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| Make sure the comments are shown in the reply dialog |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| let [val review [create-review -server $serverURL]] { |
| openCompareEditor $review |
| } |
| |
| // Type a comment and save it |
| with [get-editor "Compare.*"] { |
| insertComment -on right -text "This is my comment" -atLine 1 |
| key-type "M1+s" |
| } |
| |
| //Open the reply dialog |
| get-editor "Compare.*" | get-button "Reply to the review.*" | click |
| |
| //Check that the dialog contains the name of the file and the comment |
| with [get-window "Reply to comment"] { |
| get-link | get-property caption | equals "<a>src/EGerritTestReviewFile.java</a>" | verify-true |
| get-editbox -after [get-link] | get-property text | equals "2\t This is my comment" | verify-true |
| // get-button "Cancel" | click |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |