increase timeouts

This commit is contained in:
Peter 'Pita' Martischka 2012-11-01 23:19:59 +00:00
parent 82dfb2df21
commit 1188dea8ff
18 changed files with 20 additions and 20 deletions

View file

@ -65,7 +65,7 @@ var helper = {};
$iframe.one('load', function(){ $iframe.one('load', function(){
helper.waitFor(function(){ helper.waitFor(function(){
return !$iframe.contents().find("#editorloadingbox").is(":visible"); return !$iframe.contents().find("#editorloadingbox").is(":visible");
}, 4000).done(function(){ }, 50000).done(function(){
helper.padChrome$ = getFrameJQuery( $('#iframe-container iframe')); helper.padChrome$ = getFrameJQuery( $('#iframe-container iframe'));
helper.padOuter$ = getFrameJQuery(helper.padChrome$('iframe.[name="ace_outer"]')); helper.padOuter$ = getFrameJQuery(helper.padChrome$('iframe.[name="ace_outer"]'));
helper.padInner$ = getFrameJQuery( helper.padOuter$('iframe.[name="ace_inner"]')); helper.padInner$ = getFrameJQuery( helper.padOuter$('iframe.[name="ace_inner"]'));

View file

@ -2,7 +2,7 @@ describe("bold button", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("makes text bold", function(done) { it("makes text bold", function(done) {

View file

@ -2,7 +2,7 @@ describe("clear authorship colors button", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("makes text clear authorship colors", function(done) { it("makes text clear authorship colors", function(done) {

View file

@ -2,7 +2,7 @@ describe("indentation button", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("indent text", function(done){ it("indent text", function(done){

View file

@ -2,7 +2,7 @@ describe("italic button", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("makes text italic", function(done) { it("makes text italic", function(done) {

View file

@ -2,7 +2,7 @@ describe("assign ordered list", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("insert ordered list text", function(done){ it("insert ordered list text", function(done){

View file

@ -1,7 +1,7 @@
describe("undo button then redo button", function(){ describe("undo button then redo button", function(){
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); // creates a new pad helper.newPad(cb); // creates a new pad
this.timeout(5000); this.timeout(60000);
}); });
it("undo some typing", function(done){ it("undo some typing", function(done){

View file

@ -2,7 +2,7 @@ describe("strikethrough button", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("makes text strikethrough", function(done) { it("makes text strikethrough", function(done) {

View file

@ -1,7 +1,7 @@
describe("timeslider button takes you to the timeslider of a pad", function(){ describe("timeslider button takes you to the timeslider of a pad", function(){
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); // creates a new pad helper.newPad(cb); // creates a new pad
this.timeout(5000); this.timeout(60000);
}); });
it("timeslider contained in URL", function(done){ it("timeslider contained in URL", function(done){

View file

@ -1,7 +1,7 @@
describe("undo button", function(){ describe("undo button", function(){
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); // creates a new pad helper.newPad(cb); // creates a new pad
this.timeout(5000); this.timeout(60000);
}); });
it("undo some typing", function(done){ it("undo some typing", function(done){

View file

@ -2,7 +2,7 @@ describe("change username value", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("Changing username from one value to another sticks", function(done) { it("Changing username from one value to another sticks", function(done) {
@ -60,7 +60,7 @@ describe("change username value", function(){
it("make sure the username has stuck when we create a new pad", function(done){ it("make sure the username has stuck when we create a new pad", function(done){
beforeEach(function(cb){ // create another pad.. beforeEach(function(cb){ // create another pad..
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
var inner$ = helper.padInner$; var inner$ = helper.padInner$;

View file

@ -2,7 +2,7 @@ describe("chat always ons creen select", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("makes chat stick to right side of the screen", function(done) { it("makes chat stick to right side of the screen", function(done) {

View file

@ -52,7 +52,7 @@ describe("embed links", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
describe("the share link", function(){ describe("the share link", function(){
@ -91,7 +91,7 @@ describe("embed links", function(){
describe("when read only option is set", function(){ describe("when read only option is set", function(){
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
describe("the share link", function(){ describe("the share link", function(){

View file

@ -2,7 +2,7 @@ describe("font select", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("makes text monospace", function(done) { it("makes text monospace", function(done) {

View file

@ -2,7 +2,7 @@ describe("send chat message", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("opens chat, sends a message and makes sure it exists on the page", function(done) { it("opens chat, sends a message and makes sure it exists on the page", function(done) {

View file

@ -2,7 +2,7 @@ describe("delete keystroke", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("makes text delete", function(done) { it("makes text delete", function(done) {

View file

@ -2,7 +2,7 @@ describe("enter keystroke", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("creates a enw line & puts cursor onto a new line", function(done) { it("creates a enw line & puts cursor onto a new line", function(done) {

View file

@ -2,7 +2,7 @@ describe("urls", function(){
//create a new pad before each test run //create a new pad before each test run
beforeEach(function(cb){ beforeEach(function(cb){
helper.newPad(cb); helper.newPad(cb);
this.timeout(5000); this.timeout(60000);
}); });
it("when you enter an url, it becomes clickable", function(done) { it("when you enter an url, it becomes clickable", function(done) {