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

Make bind integration tests less flaky (the remix) #9788

Merged
merged 3 commits into from Jun 8, 2017

Conversation

dreamofabear
Copy link

Fixes #9786.

  • Wait for AMP element layout for all tests.
  • Wait for AmpFormService registration for with <amp-form> tests.
  • Remove crappy old code.
  • Fix bind-list.html validation error which caused failures on some browsers.

Local saucelab runs are green with these changes.

/to @rsimha-amp /cc @camelburrito

<amp-img src="http://www.google.com/image1" height="200" width="200"></amp-img>
<amp-img src="http://www.google.com/image1" height="200" width="200"></amp-img>
<amp-img src="http://www.foo.com/image" height="200" width="200"></amp-img>
<amp-img src="http://www.foo.com/image" height="200" width="200"></amp-img>
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious: Why the intentionally invalid images?

Copy link
Author

Choose a reason for hiding this comment

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

Real, locally served images would avoid polluting the error log but it doesn't affect test correctness either way. Would be a good clean-up task or GFI.

@dreamofabear dreamofabear merged commit 101fac5 into ampproject:master Jun 8, 2017
@dreamofabear dreamofabear deleted the fix-bind-form-test branch June 8, 2017 01:04
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