Merge pull request #976 from bquarmby/Siesta

Siesta
This commit is contained in:
Diullei Gomes
2013-09-02 13:15:32 -07:00
2 changed files with 1112 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
/// <reference path="siesta.d.ts" />
StartTest(function (t: Siesta.Test.ExtJS) {
t.waitForComponentQuery('#myItemId', () => {
t.ajaxRequestAndThen('http://some/url', () => {
t.isBoolean(123, 'not a boolean');
}, null);
}, null, 2000);
});
startTest(function (t: Siesta.Test.Browser) {
t.waitForSelectors(['.class', '#id'], () => { });
});
describe(function (t: Siesta.Test.jQuery) {
var library = t.get$();
t.describe('My Module', () => {
t.it('should do something', () => {
t.expect('some string').not.toBe('some other string');
});
});
});
var Harness = Siesta.Harness.Browser;
Harness.start({
group: 'MyGroup',
items: [
'test-script01.js',
'test-script02.js',
{
url: 'http://somesite.com/test-script03.js',
preload: [{
type: 'css',
url: 'http://somesite.com/test-script03.ashx'
}]
}
],
option1: true
});
+1071
View File
File diff suppressed because it is too large Load Diff