Skip to content

Commit

Permalink
[2152] Double click on diagram in Semantic Browser should open the
Browse files Browse the repository at this point in the history
diagram not the wizard properties

Add RCPTT test.

Bug: 2152

Change-Id: I999372c693bbfb1b08909ede6a84203dbefea18c
Signed-off-by: Jeremy Aubry <jaubry@obeo.fr>
  • Loading branch information
jaubry-obeo committed Sep 5, 2018
1 parent ddb8eb9 commit 0a49b34
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/plugins/org.polarsys.capella.test.rcptt/AllTests.suite
Expand Up @@ -5,8 +5,8 @@ Element-Type: testsuite
Element-Version: 2.0
Id: _H2g9YMEUEeWqb6y2_gGIKQ
Manually-Ordered: true
Runtime-Version: 2.2.0.201705230341
Save-Time: 8/8/18 1:08 PM
Runtime-Version: 2.1.0.201606221726
Save-Time: 9/5/18 3:37 PM

------=_testcase-items-62c497da-4241-31f4-811a-6b453a3ecff8
Content-Type: text/testcase
Expand Down Expand Up @@ -54,5 +54,6 @@ _wcMv8HlMEeinH5hIqek0Nw // kind: 'test' name: 'MESendToFromProjectExplorer' path
_x3yKIJrrEeiYyJV_j_AxhQ // kind: 'test' name: 'NavigationMenu' path: 'Menu/NavigationMenu.test'
_wlapMHoDEeiaPKaUZLw7uw // kind: 'test' name: 'RepresentationElementsOfInterest' path: 'RepresentationElementsOfInterest.test'
_vpoagHrAEeiFH4aXYyDXfw // kind: 'test' name: 'RepresentationPackage' path: 'RepresentationPackage.test'
_d6NhQLEMEeiU1LYbc1uWDg // kind: 'test' name: 'DoubleClickOnRepresentation' path: 'SemanticBrowser/DoubleClickOnRepresentation.test'

------=_testcase-items-62c497da-4241-31f4-811a-6b453a3ecff8--
@@ -0,0 +1,50 @@
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _9ikm0J6BEeWcU-ojRg-Rxw
Element-Name: DoubleClickOnRepresentation
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _d6NhQLEMEeiU1LYbc1uWDg
Runtime-Version: 2.1.0.201606221726
Save-Time: 9/5/18 5:01 PM
Testcase-Type: ecl

------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description

This test check this bugzilla:
Bug 2152 - Double click on diagram in Semantic Browser should open the diagram not the wizard properties

Double click on a diagram, table and scenario to open them and close them (if you cannot, it is because they did not open).
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content

with [get-view "Capella Project Explorer" | get-tree] {
select "EOLE_AF/EOLE_AF.aird" | double-click
select "EOLE_AF/EOLE_AF.aird/EOLE_AF/Logical Architecture/Logical Functions/Root Logical Function/[LFBD] Root Logical Function - Logical Function Breakdown"
}
with [get-view "Semantic Browser"] {
click
get-tree -after [get-label "Current Element"] | select "[LFBD] Root Logical Function - Logical Function Breakdown"
| click -default
}
get-editor "EOLE_AF" | click
get-editor "[LFBD] Root Logical Function - Logical Function Breakdown" | close
get-view "Capella Project Explorer" | get-tree
| select "EOLE_AF/EOLE_AF.aird/EOLE_AF/Logical Architecture/Logical Components - Logical Functions"
get-view "Semantic Browser" | get-tree -after [get-label "Current Element"]
| select "Logical Components - Logical Functions" | click -default
get-editor "EOLE_AF" | click
get-editor "Logical Components - Logical Functions" | close
get-view "Capella Project Explorer" | get-tree
| select "EOLE_AF/EOLE_AF.aird/EOLE_AF/Logical Architecture/Capabilities/Distribute data/Scenario/[ES] Distribute data - Exchange Scenario"
get-view "Semantic Browser" | get-tree -after [get-label "Current Element"]
| select "[ES] Distribute data - Exchange Scenario" | click -default
get-editor "EOLE_AF" | click
get-editor "[ES] Distribute data - Exchange Scenario" | close
get-window "Save Resource" | get-button "Save" | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--

0 comments on commit 0a49b34

Please sign in to comment.