Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix most amp-bind integration tests #9577

Merged
merged 2 commits into from May 26, 2017

Conversation

dreamofabear
Copy link

@dreamofabear dreamofabear commented May 26, 2017

Partial for #9571. Fix and un-skip a bunch of tests.

  • Reworked amp-carousel test to not require internal APIs. Also, flakiness fixed by making sure it gets laid out.
  • Fixed timeouts due to amp:bind:initialize event firing before the listener was added.

All un-skipped tests now pass locally on Firefox 53 on OS X. A few are left.

/to @kmh287

const impl = carousel.implementation_;
expect(slideNum.textContent).to.equal('0');
impl.go(1, /* animate */ false);
const nextSlideButton =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@kmh287 kmh287 merged commit 4594489 into ampproject:master May 26, 2017
@dreamofabear
Copy link
Author

dreamofabear commented May 26, 2017

@kmh287 Appreciate the initiative but merge was a bit premature.

Firefox tests are fixed but some failures on Chrome 45 and Chrome Mobile 44 still: https://travis-ci.org/ampproject/amphtml/jobs/236386931 😭

@dreamofabear dreamofabear deleted the bind-carousel-test branch May 26, 2017 16:06
@kmh287
Copy link
Contributor

kmh287 commented May 26, 2017

Sorry, got too excited. 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants