Get help with testing, discuss unit testing strategies etc.


Post by zombeerose »

var Harness = Siesta.Harness.Browser.ExtJS,
    testRoot = 'tests/';

...

Harness.start({
    group: 'Form',
    items: [{
        group: 'Fields',
        items: [
            testRoot+'020-form/010-field/010_password.t.js'
        ]
    }]
},{
    group: 'Admin',
    items: [{
        group: 'ACL',
        items: [testRoot+'050-admin/010_acl.t.js']
    }]
});
Given the above code, when I run Siesta, I only see the 'Form' folder. The 'Fields' sub-folder is missing but it's contents are displayed. The 'Admin -> ACL' branch is correct. If you disable the 'Admin' group, the 'Form' group displays correctly.

This issue only occurs when you have more than one nested group.

Post by nickolay »

Hm.. ok, will investigate tomorrow.

Post by nickolay »

This is very weird. I checked, and all the data is correct (contains full tree), may be a bug ext tree? Digging..

Post by nickolay »

Ok, fixed. Some ids for test groups were identical. Trial with fix attached.
Attachments
siesta-1.0.3-trial.zip
(3.32 MiB) Downloaded 490 times

Post by zombeerose »

@support_team
Awesome - works for me :)

Post Reply