File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ describe("IAS", function () {
29
29
expect ( $ ( '.ias-trigger:visible' ) . length ) . toEqual ( 0 ) ; // ensure it isn't already there
30
30
31
31
scrollDown ( ) . then ( function ( ) {
32
- wait ( 2000 ) . then ( function ( ) {
32
+ wait ( 1000 ) . then ( function ( ) {
33
33
// expect the trigger to be visible
34
34
expect ( $ ( '.ias-trigger:visible' ) . length ) . toEqual ( 1 ) ;
35
35
@@ -41,7 +41,9 @@ describe("IAS", function () {
41
41
42
42
// expect it to have the additional class as given with the options
43
43
expect ( $ ( '.ias-trigger:visible' ) . get ( 0 ) ) . toHaveClassName ( 'extra-trigger-class' ) ;
44
+ } ) ;
44
45
46
+ wait ( 1200 ) . then ( function ( ) {
45
47
deferred . resolve ( ) ;
46
48
} ) ;
47
49
} ) ;
@@ -65,7 +67,9 @@ describe("IAS", function () {
65
67
66
68
wait ( 2000 ) . then ( function ( ) {
67
69
expect ( $ ( '#post11' ) . length ) . toEqual ( 1 ) ;
70
+ } ) ;
68
71
72
+ wait ( 2100 ) . then ( function ( ) {
69
73
deferred . resolve ( ) ;
70
74
} ) ;
71
75
} ) ;
@@ -105,6 +109,9 @@ describe("IAS", function () {
105
109
// expect it not to have loaded the next page
106
110
expect ( $ ( '#post21' ) . length ) . toEqual ( 0 ) ;
107
111
112
+ } ) ;
113
+
114
+ wait ( 1200 ) . then ( function ( ) {
108
115
deferred . resolve ( ) ;
109
116
} ) ;
110
117
} ) ;
You can’t perform that action at this time.
0 commit comments