Q7

The control in context menu is disabled at the replaying q7 test

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.17
  • Fix Version/s: 1.2.17
  • Component/s: Runtime
  • Labels:
  • Test Mode:
    Manual

Description

Vozone tests in dogfood are failed (http://build.xored.com/browse/Q7-Q7D12-DGFD-745):
NETSDK-164_SS_SA_OK
NETSDK-164_SA_OK_Cancel

On the local machine these tests are failed too with the same error:
Cause: 'The control "Change Instance Type" is disabled.'

Test steps:
1. Select object on diagram
2. Select "Change Instance Type" control from context menu
At the replaying Q7 test this control is disabled, but selection of object is correct.

If rewrite these actions the test is failed too.

Activity

Hide
Andrey Sobolev added a comment - 14/Feb/13 1:25 PM

Problem was in following:

1. get menu1 | click
2. get-menu2 | click

Then execute do following:

1. show-menu menu1 | click

2.1 hide-menu menu1 -> in platform call add async to hide contributions.
2.2 show-menu menu2 | click -> add async to click
3. async disables item.
4. click can't execute since item is disabled.

To fix issue I've in prepare phase added a check, if menu is hided, then to wait for all async before showing next one menu.

Fixed.

Show
Andrey Sobolev added a comment - 14/Feb/13 1:25 PM Problem was in following: 1. get menu1 | click 2. get-menu2 | click Then execute do following: 1. show-menu menu1 | click 2.1 hide-menu menu1 -> in platform call add async to hide contributions. 2.2 show-menu menu2 | click -> add async to click 3. async disables item. 4. click can't execute since item is disabled. To fix issue I've in prepare phase added a check, if menu is hided, then to wait for all async before showing next one menu. Fixed.
Hide
anastasia.ahramenko added a comment - 14/Feb/13 2:42 PM

Verified.

Show
anastasia.ahramenko added a comment - 14/Feb/13 2:42 PM Verified.

People

Vote (0)
Watch (0)

Dates

  • Created:
    14/Feb/13 12:12 PM
    Updated:
    14/Feb/13 2:42 PM
    Resolved:
    14/Feb/13 1:25 PM