blob: 592d32364c418818b2f4fae9eca69fe97c4dde00 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: SortOnReviewedFlag
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _mD_eoA2KEee9I_3pba4jzg
Runtime-Version: 2.1.0.201605312320
Save-Time: 3/28/17 7:34 AM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
let [val review -value [create-review -server $serverURL]] {
runQueryAndOpenEditor [ $review ]
}
//Test the History file table
with [get-editor | get-table -index 1] {
//Reset the files table to have all columns available
key-type "M1+6"
//Initially the reviewed indicator is off
assert-that-reviewed-flag-is-off -row 0
assert-that-reviewed-flag-is-off -row 1
//Set the reviewd indicator
get-cell 0 0 | mouse down -count 1
assert-that-reviewed-flag-is-on -row 0
//Sort the columns
with [get-column-header ""] {
click
}
assert-that-reviewed-flag-is-on -row 0
//Sort the columns in the reverse order
with [get-column-header ""] {
click
}
assert-that-reviewed-flag-is-on -row 1
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--