| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Element-Name: ContextMenu |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _MvE9AHkaEea0t7_C5oFwIQ |
| Runtime-Version: 2.1.0.201605312320 |
| Save-Time: 3/17/17 1:02 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| Validate the star review feature of the dashboard |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| let [val review [create-review -server $serverURL]] { |
| runQuery [$review | get lastChangeId] -serverName $serverName |
| } |
| |
| proc "assert-context-menu" [val contains] { |
| with [getDashboard | get-table] { |
| get-cell 0 2 | click |
| get-cell 0 2 | mouse down Right -count 1 |
| get-cell 0 2 | mouse up Right -count 1 |
| get-menu $contains |
| } |
| } |
| |
| assert-context-menu -contains "Rebase..." |
| assert-context-menu -contains "Download" |
| assert-context-menu -contains "Download/Checkout..." |
| assert-context-menu -contains "Download/Cherry Pick..." |
| assert-context-menu -contains "Reply" |
| assert-context-menu -contains "Reply/Reply..." |
| assert-context-menu -contains "Reply/Code-Review +2" |
| assert-context-menu -contains "Open Compare" |
| assert-context-menu -contains "Submit" |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |