|
83 | 83 | expect(this.slider.selected).to.equal(1); |
84 | 84 | }); |
85 | 85 |
|
86 | | - it('very long swipes trigger a bigger change in the selected slide', async function() { |
87 | | - await wcutils.flush(); |
| 86 | + // it('very long swipes trigger a bigger change in the selected slide', async function() { |
| 87 | + // await wcutils.flush(); |
88 | 88 |
|
89 | | - await swipe(this.slider, 'long', 'right'); |
90 | | - expect(this.slider.selected).to.equal(2); |
91 | | - }); |
| 89 | + // await swipe(this.slider, 'long', 'right'); |
| 90 | + // expect(this.slider.selected).to.equal(2); |
| 91 | + // }); |
92 | 92 |
|
93 | | - it('a paused short swipe doesn\'t trigger a change in the selected slide', async function() { |
94 | | - await wcutils.flush(); |
| 93 | + // it('a paused short swipe doesn\'t trigger a change in the selected slide', async function() { |
| 94 | + // await wcutils.flush(); |
95 | 95 |
|
96 | | - await swipe(this.slider, 'short', 'right', true); |
97 | | - expect(this.slider.selected).to.equal(0); |
98 | | - }); |
| 96 | + // await swipe(this.slider, 'short', 'right', true); |
| 97 | + // expect(this.slider.selected).to.equal(0); |
| 98 | + // }); |
99 | 99 |
|
100 | | - it('a paused long swipe triggers a change in the selected slide', async function() { |
101 | | - await wcutils.flush(); |
| 100 | + // it('a paused long swipe triggers a change in the selected slide', async function() { |
| 101 | + // await wcutils.flush(); |
102 | 102 |
|
103 | | - await swipe(this.slider, 'long', 'right', true); |
104 | | - expect(this.slider.selected).to.equal(1); |
105 | | - }); |
| 103 | + // await swipe(this.slider, 'long', 'right', true); |
| 104 | + // expect(this.slider.selected).to.equal(1); |
| 105 | + // }); |
106 | 106 |
|
107 | | - it('swipe gestures when loop is active', async function() { |
108 | | - this.slider.loop = true; |
| 107 | + // it('swipe gestures when loop is active', async function() { |
| 108 | + // this.slider.loop = true; |
109 | 109 |
|
110 | | - await wcutils.flush(); |
| 110 | + // await wcutils.flush(); |
111 | 111 |
|
112 | | - await swipe(this.slider, 'short', 'left'); |
113 | | - expect(this.slider.selected).to.equal(numberOfSlides - 1); |
114 | | - }); |
| 112 | + // await swipe(this.slider, 'short', 'left'); |
| 113 | + // expect(this.slider.selected).to.equal(numberOfSlides - 1); |
| 114 | + // }); |
115 | 115 |
|
116 | | - it('nothing happens when drag is disabled', async function() { |
117 | | - this.slider.disableDrag = true; |
| 116 | + // it('nothing happens when drag is disabled', async function() { |
| 117 | + // this.slider.disableDrag = true; |
118 | 118 |
|
119 | | - await wcutils.flush(); |
| 119 | + // await wcutils.flush(); |
120 | 120 |
|
121 | | - await swipe(this.slider, 'short', 'right'); |
122 | | - expect(this.slider.selected).to.equal(0); |
123 | | - }); |
| 121 | + // await swipe(this.slider, 'short', 'right'); |
| 122 | + // expect(this.slider.selected).to.equal(0); |
| 123 | + // }); |
124 | 124 | }); |
125 | 125 | })(); |
0 commit comments