I am new to using Siesta and I've set-up Siesta to connect it to my Ext JS application. There are a few things that I am unsure of.
Firstly, the examples that I have seen if you want to create a test for a form you have to create a new 'Ext.FormPanel' and populate the panel with the fields you want. But how do you directly access a form that's in your Ext application that has already been created to test, or anything else for that matter. For example i try to do the following to access a form inside my application:- but in order to access this form the user needs to be able to login first.
describe("Testing Form", function(t) {
t.it('load form', function(t) {
var form = Ext.create('SK.view.tools.orderCreate.digital.Digital', {
renderTo: Ext.getBody()
});
});
});
No matter what test i run in Siesta whether its a test for a model or a controller. It will always load my applications login screen in the DOM panel is there a reason for this? Would appreciate it if someone could get back to me on these issues.