| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _SapwEL4pEeOsAoUpt_cnqw,_LOMGYGrvEeK_JdLra2Bk5A,_jRtbsGrtEeK_JdLra2Bk5A |
| Element-Name: ts003_tc012_not_reseting_filter_after_save |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _nCdeAOTrEeOmt7XUo6i_ng |
| Q7-Runtime-Version: 1.3.10.201312200736 |
| Save-Time: 5/26/14 6:08 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| Checks that the list of active filters stay unchanged after saving. |
| |
| 1. Opens a comparison. |
| 2. Deactivates the filter "Identical elements ". |
| 3. Does not synchronize. |
| 4. Merges a diff. |
| 5. Saves. |
| 6. Checks that the filter "Identical elements " is still deactivated. |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| //Compares |
| 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 |
| } |
| //Deactivates "Identical elements" filter |
| get-editor "Compare (\'Library/extlibraryRight.ecore\' - \'Library/extlibraryLeft.ecore\' - \'Library/extlibraryRight.ecore\')" |
| | get-button Filters | click -arrow |
| |
| get-menu "Empty resource mappings" | get-property selection | equals true | verify-true |
| get-menu "Identical elements" | get-property selection | equals true | verify-true |
| get-menu "Cascading differences" | get-property selection | equals true | verify-true |
| |
| get-menu "Identical elements" | click |
| |
| //Merges and saves |
| get-window "Filters preference" | get-button No | click |
| with [get-editor "Compare (\'Library/extlibraryRight.ecore\' - \'Library/extlibraryLeft.ecore\' - \'Library/extlibraryRight.ecore\')"] { |
| get-button "Copy Current Change From Left To Right" | click | key-type "M1+s" //save |
| } |
| |
| set-dialog-result File |
| get-button "Save (M1+S)" | click |
| |
| //Checks that the list of activated filter is unchanged. |
| get-editor "Compare (\'Library/extlibraryRight.ecore\' - \'Library/extlibraryLeft.ecore\' - \'Library/extlibraryRight.ecore\')" | get-button Filters |
| | click -arrow |
| |
| get-menu "Empty resource mappings" | get-property selection | equals true | verify-true |
| get-menu "Identical elements" | get-property selection | equals false | verify-true |
| get-menu "Cascading differences" | get-property selection | equals true | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |