amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Fix amp-carousel integration tests

Open dvoytenko opened this issue 11 years ago • 12 comments

I disabled them for now. They fail near 100% on my local. Please advise.

dvoytenko avatar Oct 02 '15 19:10 dvoytenko

@dvoytenko you mind copy pasting/taking a screenshot of the exact tests?

erwinmombay avatar Oct 02 '15 19:10 erwinmombay

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

dvoytenko avatar Oct 02 '15 20:10 dvoytenko

Sweeping old bugs: Is this still needed?

rudygalfi avatar Jan 22 '16 23:01 rudygalfi

@rudygalfi yes definitely, i will get to some carousel work by next week

erwinmombay avatar Jan 23 '16 00:01 erwinmombay

FYI @erwinmombay , I moved this into the Feb 13 milestone

ericlindley-g avatar Feb 06 '16 00:02 ericlindley-g

consistently failing on chrome 48 locally. (not on remote 46?) opening again.

erwinmombay avatar Feb 19 '16 19:02 erwinmombay

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.

mkhatib avatar Jun 07 '16 23:06 mkhatib

Yup even with gulp test these seem to pass.

mkhatib avatar Jun 07 '16 23:06 mkhatib

Is there anything else needed here?

adelinamart avatar Feb 03 '17 22:02 adelinamart

@adelinamart i'll work with the new SETI to fix this

erwinmombay avatar Feb 22 '17 17:02 erwinmombay

@erwinmombay shall we assign this to Raghu?

adelinamart avatar Apr 12 '17 18:04 adelinamart

This was done by @nainar in https://github.com/ampproject/amphtml/pull/18166.

cathyxz avatar Oct 30 '18 04:10 cathyxz