Get help with testing, discuss unit testing strategies etc.


Post by rchloupe »

I'm running Siesta 4.3.1 against Sencha Modern 6.5.1 with Siesta.Harness.Browser.ExtJS().
When normalizeElement() runs it ends up in compToEl() but gets inside of the Touch code. Line 36616 evaluates to true. Then when line 36617 runs "comp.getComponent is not a function" is thrown.
If I comment out lines 36616 through 36628 everything seems to run correctly.

Post by nickolay »

Can you provide more details? How this problem appears - do you click on some widget or something else? May be an isolated test case?

Post by rchloupe »

Just clicking on a textfield. I can give you a zip file if you'd like.
Ext.define('MyApp.view.main.Main', {
    extend: 'Ext.Container',
    xtype: 'app-main',

    items: [
        {
			label: 'Username',
			xtype: 'textfield',
			itemId: 'username'
        }
    ]
});
StartTest(function (t) {
	t.it('Testing sencha 6.5.1 modern textfield', function(t) {
		t.chain(
			{click: '>> #username'}
		);
	})
});

Post Reply