blob: 07913a3ef2c1cc3653e7573aa6ba51cb5503dc7d [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _SapwEL4pEeOsAoUpt_cnqw,_LOMGYGrvEeK_JdLra2Bk5A,_jRtbsGrtEeK_JdLra2Bk5A
Element-Name: ts016_tc015_groups_popup_not_setting_default_group
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _hIdrwL__EeO668you7X_bw
Q7-Runtime-Version: 1.3.10.201312200736
Save-Time: 4/10/14 3:35 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
This test must validate that clicking on "No" on the group popup does not synchronize the current group with the preferences.
1. Open a comparison
2. Change the group to "By kind"
3. Check nothing as changed in the preferences
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Package Explorer" | get-tree] {
select "Library/extlibraryLeft.ecore" "Library/extlibraryOrigin.ecore" "Library/extlibraryRight.ecore"
get-menu "Compare With/Each Other" | click
}
with [get-window "Select Common Ancestor"] {
get-button "\'/Library/extlibraryOrigin.ecore\'" | click
get-button OK | click
}
//Activates "By King" group in UI
get-editor "Compare (\'Library/extlibraryRight.ecore\' - \'Library/extlibraryLeft.ecore\' - \'Library/extlibraryRight.ecore\')"
| get-button Groups | click -arrow
get-menu "By Kind" | click
get-window "Group preference" | get-button No | click
get-preferences-menu | click
get-window Preferences | get-tree | select "EMF Compare/Groups"
//Checks that "By kind" is not the default group in 2-way comparison netiher in 3-way comparison
get-window Preferences | get-list | get-property "getItems().String[0]" | equals Default | verify-true
get-window Preferences | get-tab-folder | get-tab-item "3 way comparison" | click
get-window Preferences | get-list | get-property "getItems().String[0]" | equals "By Side" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--