Skip to content

Commit 3cc4bd6

Browse files
committed
unskip carousel e2e tests
1 parent 2ce838d commit 3cc4bd6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

extensions/amp-base-carousel/0.1/test-e2e/test-arrows-non-looping.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,18 @@ describes.endtoend(
3131
nextArrow = await getNextArrow(controller);
3232
});
3333

34-
// TODO(#40214): fix flaky test.
35-
it.skip('should have the arrows in the correct initial state', async () => {
34+
it('should have the arrows in the correct initial state', async () => {
3635
await expect(css(prevArrow, 'opacity')).to.equal('0');
3736
await expect(css(nextArrow, 'opacity')).to.equal('1');
3837
});
3938

40-
// TODO(#40214): fix flaky test.
41-
it.skip('should show the prev arrow when going to the first slide', async () => {
39+
it('should show the prev arrow when going to the first slide', async () => {
4240
await controller.click(nextArrow);
4341
await expect(css(prevArrow, 'opacity')).to.equal('1');
4442
await expect(css(nextArrow, 'opacity')).to.equal('1');
4543
});
4644

47-
// TODO(#40214): fix flaky test.
48-
it.skip('should hide the next arrow when going to the end', async () => {
45+
it('should hide the next arrow when going to the end', async () => {
4946
const el = await getScrollingElement(controller);
5047
await controller.scrollTo(el, {left: (SLIDE_COUNT - 1) * pageWidth});
5148

0 commit comments

Comments
 (0)