diff --git a/extensions/amp-base-carousel/0.1/test-e2e/test-arrows-non-looping.js b/extensions/amp-base-carousel/0.1/test-e2e/test-arrows-non-looping.js index 12ec711ea954..1e30efe0d6bc 100644 --- a/extensions/amp-base-carousel/0.1/test-e2e/test-arrows-non-looping.js +++ b/extensions/amp-base-carousel/0.1/test-e2e/test-arrows-non-looping.js @@ -31,21 +31,18 @@ describes.endtoend( nextArrow = await getNextArrow(controller); }); - // TODO(#40214): fix flaky test. - it.skip('should have the arrows in the correct initial state', async () => { + it('should have the arrows in the correct initial state', async () => { await expect(css(prevArrow, 'opacity')).to.equal('0'); await expect(css(nextArrow, 'opacity')).to.equal('1'); }); - // TODO(#40214): fix flaky test. - it.skip('should show the prev arrow when going to the first slide', async () => { + it('should show the prev arrow when going to the first slide', async () => { await controller.click(nextArrow); await expect(css(prevArrow, 'opacity')).to.equal('1'); await expect(css(nextArrow, 'opacity')).to.equal('1'); }); - // TODO(#40214): fix flaky test. - it.skip('should hide the next arrow when going to the end', async () => { + it('should hide the next arrow when going to the end', async () => { const el = await getScrollingElement(controller); await controller.scrollTo(el, {left: (SLIDE_COUNT - 1) * pageWidth}); diff --git a/extensions/amp-base-carousel/0.1/test-e2e/test-carousel.js b/extensions/amp-base-carousel/0.1/test-e2e/test-carousel.js index c2060294d509..6a5136cbd72e 100644 --- a/extensions/amp-base-carousel/0.1/test-e2e/test-carousel.js +++ b/extensions/amp-base-carousel/0.1/test-e2e/test-carousel.js @@ -59,8 +59,7 @@ describes.endtoend( await expect(slidesRects[0].width).to.equal(pageWidth); }); - // TODO(#24195): fix this flaky test. - it.skip('should layout the two adjacent slides', async function () { + it('should layout the two adjacent slides', async function () { const [firstSlideRect, secondSlideRect, lastSlideRect] = [ await controller.getElementRect(await getSlide(controller, 0)), await controller.getElementRect(await getSlide(controller, 1)),