blob: 314574fc944e3fadd867956667404d5458788ed1 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: ActivateMarkerView
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _kZWPIGYwEeayT_mC1nsHtA
Runtime-Version: 2.1.0.201605312320
Save-Time: 8/19/16 8:38 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
let [val review [create-review -server $serverURL]] {
runQueryAndOpenEditor $review
//activate the review without comment and check that there is no markers
get-editor | get-button "Activate Comment Markers" | check
get-window "EGerrit Tip" | get-button OK | click
assert-marker-count-is -is 0
openCompareEditor $review
}
// Type a comment and save it, and confirm there is now an associated marker
with [get-editor "Compare.*"] {
insertComment -on right -text "This is my comment" -atLine 1
key-type "M1+s"
close
}
assert-marker-count-is -is 1
// disable markers
get-editor | get-button "Markers for patchset 1" | uncheck
get-window "Reply to comment" | get-button OK | click
assert-marker-count-is -is 0
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--