blob: 12c071da7de89c847a493f2b9984a9e93a477501 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: CheckButtons
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _rBTYcFRGEeaXLqlXvYQIgg
Runtime-Version: 2.1.0.201606221726
Save-Time: 7/29/16 11:50 AM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Check the default enablement state of the buttons in the editor
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
// Create a review and open it
runQueryAndOpenEditor [create-review -server $serverURL]
with [get-editor] {
assert-that-button Refresh -is enabled
assert-that-button Submit -is disabled
assert-that-button Rebase -is enabled
assert-that-button "Cherry-Pick" -is enabled
assert-that-button "Reply..." -is enabled
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--