blob: 1dd253bdb4f303613983df21747ae3b72325246e [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.201605312320
Save-Time: 3/17/17 2:07 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
wait -ms $defaultWaitTime
}
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
wait -ms $defaultWaitTime
assert-that-first-entry-in-history-table -atColumn 3 -is "Code-Review+2" -in [get-editor]
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--