Skip to content

Commit a231259

Browse files
committed
debug test
1 parent 1e34df7 commit a231259

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/04-trigger-extension-test.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe("IAS", function () {
2929
expect($('.ias-trigger:visible').length).toEqual(0); // ensure it isn't already there
3030

3131
scrollDown().then(function() {
32-
wait(2000).then(function() {
32+
wait(1000).then(function() {
3333
// expect the trigger to be visible
3434
expect($('.ias-trigger:visible').length).toEqual(1);
3535

@@ -41,7 +41,9 @@ describe("IAS", function () {
4141

4242
// expect it to have the additional class as given with the options
4343
expect($('.ias-trigger:visible').get(0)).toHaveClassName('extra-trigger-class');
44+
});
4445

46+
wait(1200).then(function() {
4547
deferred.resolve();
4648
});
4749
});
@@ -65,7 +67,9 @@ describe("IAS", function () {
6567

6668
wait(2000).then(function() {
6769
expect($('#post11').length).toEqual(1);
70+
});
6871

72+
wait(2100).then(function() {
6973
deferred.resolve();
7074
});
7175
});
@@ -105,6 +109,9 @@ describe("IAS", function () {
105109
// expect it not to have loaded the next page
106110
expect($('#post21').length).toEqual(0);
107111

112+
});
113+
114+
wait(1200).then(function() {
108115
deferred.resolve();
109116
});
110117
});

0 commit comments

Comments
 (0)