blob: f4d85264b16eaa41173a60ef6d7aa2a3cdba8d21 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: ReplyToReview
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _8b_jwF20Eea0aLCZHBxUOw
Runtime-Version: 2.1.0.201606221726
Save-Time: 8/9/16 12:58 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
runQueryAndOpenEditor [create-review -server $serverURL]
// testing reply +1
get-editor | get-button "Reply..." | click
get-menu "Reply..." | click
with [get-window "Reply to comment"] {
get-editbox -after [get-label "Enter the reply to patchset 1/1"] | set-text "On the right track !"
get-button "Looks good to me, but someone else must approve" | click
get-button OK | click
}
assert-that-first-entry-in-history-table -atColumn 3 -is "Code-Review+1 On the right track !" -in [get-editor]
// testing reply +2
get-editor | get-button "Reply..." | click
get-menu "Code-Review+2" | click
assert-that-first-entry-in-history-table -atColumn 3 -is "Code-Review+2" -in [get-editor]
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--