blob: 4552ebbbc5e70a2b236a66bfe78b4503ccfcdddf [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: ValidateBuiltInQueries
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _HRakgFW6EeaqndgsDAUXWQ
Runtime-Version: 2.1.0.201605312320
Save-Time: 9/26/16 9:07 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Validate all the build-in queries of the dashboard
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find all Open Reviews for the selected repository" | click -arrow
get-menu Open | click
assert-that-search-box-in-dashboard -is "status:open"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find all Open Reviews for the selected repository" | click -arrow
get-menu Merged | click
assert-that-search-box-in-dashboard -is "status:merged"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find all Open Reviews for the selected repository" | click -arrow
get-menu Abandoned | click
assert-that-search-box-in-dashboard -is "status:abandoned"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find my Changes reviews for the selected repository" | click -arrow
get-menu Drafts | click
assert-that-search-box-in-dashboard -is "is:draft"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find my Changes reviews for the selected repository" | click -arrow
get-menu "Watched Changes" | click
assert-that-search-box-in-dashboard -is "is:watched status:open"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find my Changes reviews for the selected repository" | click -arrow
get-menu Changes | click
assert-that-search-box-in-dashboard -is "is:open AND (owner:self OR reviewer:self)"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find my Changes reviews for the selected repository" | click -arrow
get-menu "Draft Comments" | click
assert-that-search-box-in-dashboard -is "has:draft"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find my Changes reviews for the selected repository" | click -arrow
get-menu "Starred Changes" | click
assert-that-search-box-in-dashboard -is "is:starred status:open"
get-view "Gerrit Dashboard (EGerrit)" | get-button "Find my Changes reviews for the selected repository" | click -arrow
get-menu "Recently Closed Changes" | click
assert-that-search-box-in-dashboard -is "is:closed AND (owner:self OR reviewer:self) AND limit:10"
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--