ExtJS 3.1
Posted: Thu Jan 12, 2017 4:08 pm
Hi,
We have developped an application with ExtJS 3.4.1.
I'm trying to evaluate siesta to launch integration tests.
I have followed example included in trial distribution.
The first step is to pass login page.
'tests/101_login.t.js'
Siesta generates errors 'ComponentQuery undefined'. ComponentQuery isn't implemented in extjs 3.4.1.
Is your product compatible with extjs 3.4.1?
If so, could you send me an example?
Thanks you.
We have developped an application with ExtJS 3.4.1.
I'm trying to evaluate siesta to launch integration tests.
I have followed example included in trial distribution.
The first step is to pass login page.
var Harness = new Siesta.Harness.Browser.ExtJS();
Harness.configure({
title: 'samples'
});
Harness.start({
group: 'login',
// will ignore the `preload` config
hostPageUrl: '../../../home/',
performSetup: false, // This is done by the app itself
items: [
'tests/101_login.t.js'
]
});
StartTest(function (t) {
t.chain(
function (next) {
t.cq1('#loginField').setValue('alacour');
t.cq1('#passwordField').setValue('BlackJack02');
next();
},
// We'd like to find a headshot icon the DOM, that's proof the main app has been launched ok
{
trigger: {
tap: '>> #loginButton'
}
},
function (next) {
t.pass('Should see a detail view with map after tapping a contact');
}
);
});
Is your product compatible with extjs 3.4.1?
If so, could you send me an example?
Thanks you.