Q7

Q7 tries to delete something during verification.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.3.4
  • Fix Version/s: 1.3.4
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

During this code "Confirm Delete" window appears although no deletion is performed - verifications only.

get-view "Vozone Explorer" | get-tree | select "Company\\/Project/Network Diagrams/Diagram" | double-click -nowait
with [get-editor Diagram] {
    with [get-diagram | get-edit-part -name Diagram] {
        get-property childrenCount | equals 2 | verify-true
        with [get-edit-part -name NElement2] {
            with [get-edit-part -name E2 | get-target-connection 0] {
                get-property "element.name" | equals Link | verify-true
                get-property "element.aEnd.name" | equals E1 | verify-true
                get-property "element.zEnd.name" | equals E2 | verify-true
            }
            get-property "element.name" | equals NElement2 | verify-true
            get-property "element.endpoints.Endpoint[0].name" | equals E2 | verify-true
        }
    }
    get-palette | get-palette-entry CompositeLink1 | get-property text | equals CompositeLink1 | verify-true
}

Q7 Test: http://build.xored.com/browse/Q7-Q7D12-DGFD-1044/test/case/69438895

Activity

Hide
Ulyana Skorokhodova added a comment - 28/Jun/13 4:53 PM - edited

UPD: one more test fails because of verification code (VZ-1147_Allow to import schemes as diagram-scoped):

if you comment the following verification, Confirm Deletion window doesn't appear and test dosn't hang:

/*with [get-editor Diagram] {
    with [get-palette] {
        get-palette-entry Schemes | get-property childrenCount | equals 3 | verify-true
        get-palette-entry 41384 | get-property text | equals 41384 | verify-true
        get-palette-entry 41380 | get-property text | equals 41380 | verify-true
        get-palette-entry 41381 | get-property text | equals 41381 | verify-true
    }
    with [get-diagram | get-edit-part -name Diagram] {
        get-edit-part -name 2987 | get-edit-part -text 41381 | get-property text | equals 41381 | verify-true
        get-edit-part -name 2986 | get-edit-part -text 41380 | get-property text | equals 41380 | verify-true
    }
}*/
Show
Ulyana Skorokhodova added a comment - 28/Jun/13 4:53 PM - edited UPD: one more test fails because of verification code (VZ-1147_Allow to import schemes as diagram-scoped): if you comment the following verification, Confirm Deletion window doesn't appear and test dosn't hang:
/*with [get-editor Diagram] {
    with [get-palette] {
        get-palette-entry Schemes | get-property childrenCount | equals 3 | verify-true
        get-palette-entry 41384 | get-property text | equals 41384 | verify-true
        get-palette-entry 41380 | get-property text | equals 41380 | verify-true
        get-palette-entry 41381 | get-property text | equals 41381 | verify-true
    }
    with [get-diagram | get-edit-part -name Diagram] {
        get-edit-part -name 2987 | get-edit-part -text 41381 | get-property text | equals 41381 | verify-true
        get-edit-part -name 2986 | get-edit-part -text 41380 | get-property text | equals 41380 | verify-true
    }
}*/
Hide
Ulyana Skorokhodova added a comment - 28/Jun/13 4:56 PM

UPD: one more test Single-endpoint service fails because of this line:

get-editor Diagram | get-palette | get-palette-entry VM99125612 | get-property text | equals VM99125612 | verify-true
Show
Ulyana Skorokhodova added a comment - 28/Jun/13 4:56 PM UPD: one more test Single-endpoint service fails because of this line:
get-editor Diagram | get-palette | get-palette-entry VM99125612 | get-property text | equals VM99125612 | verify-true
Hide
komaz added a comment - 28/Jun/13 6:02 PM

This has happened during a QS-2746 fix. This AUT has a protected method without args, whose name starts with 'is', but this method has side effects.

Show
komaz added a comment - 28/Jun/13 6:02 PM This has happened during a QS-2746 fix. This AUT has a protected method without args, whose name starts with 'is', but this method has side effects.

People

Vote (0)
Watch (0)

Dates

  • Created:
    28/Jun/13 4:42 PM
    Updated:
    28/Jun/13 6:09 PM
    Resolved:
    28/Jun/13 6:09 PM