Fix amp-carousel integration tests
I disabled them for now. They fail near 100% on my local. Please advise.
@dvoytenko you mind copy pasting/taking a screenshot of the exact tests?
I'm seeing this:
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 420 of 506 SUCCESS (0 secs / 2.474 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel should be present FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 421 of 506 (1 FAILED) (0 secs / 4.476 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is on body should only have the next button visible when on first item FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 422 of 506 (2 FAILED) (0 secs / 6.477 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is on body should not be able to go past the first or last item FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 423 of 506 (3 FAILED) (0 secs / 8.477 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is on body (type=slide) should only have the next button visible when on first item FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 424 of 506 (4 FAILED) (0 secs / 10.482 secs)
DEBUG [web-server]: serving (cached): /Users/dvoytenko/DNI/amphtml/dist/amp.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is on body should only have the prev button visible when on last item FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 425 of 506 (5 FAILED) (0 secs / 12.483 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is on body (type=slides) should only have the prev button visible when on last item FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 426 of 506 (6 FAILED) (0 secs / 14.487 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is on body should not have any buttons visible when theres only a single item FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 427 of 506 (7 FAILED) (0 secs / 16.489 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is on body (type=slides) should not have any buttons visible when theres only a single item FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 428 of 506 (8 FAILED) (0 secs / 24.048 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is not on body should not have the buttons visible FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 429 of 506 (9 FAILED) (0 secs / 26.049 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-mode-mouse class is not on body (type=slides) should not have the buttons visible FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 430 of 506 (10 FAILED) (0 secs / 28.049 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-carousel has explicit `controls` attribute should have visible buttons even when `amp-mode-mouse` is not on body FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 431 of 506 (11 FAILED) (0 secs / 30.052 secs)
WARN [web-server]: 404: /base/dist/v0/amp-carousel-0.1.js
Chrome 45.0.2454 (Mac OS X 10.10.5) amp-carousel when amp-carousel has explicit `controls` attribute (type=slides) should have visible buttons even when `amp-mode-mouse` is not on body FAILED
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.
Chrome 45.0.2454 (Mac OS X 10.10.5): Executed 432 of 506 (12 FAILED) (0 secs / 32.054 secs)
W
Sweeping old bugs: Is this still needed?
@rudygalfi yes definitely, i will get to some carousel work by next week
FYI @erwinmombay , I moved this into the Feb 13 milestone
consistently failing on chrome 48 locally. (not on remote 46?) opening again.
Just tried gulp test --integration locally after removing the .skip part and it seems to be passing.
Will run gulp test to see if this fails.
Yup even with gulp test these seem to pass.
Is there anything else needed here?
@adelinamart i'll work with the new SETI to fix this
@erwinmombay shall we assign this to Raghu?
This was done by @nainar in https://github.com/ampproject/amphtml/pull/18166.