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

Integration tests for amp-video-iframe #19196

Merged
merged 4 commits into from Nov 14, 2018

Conversation

alanorozco
Copy link
Member

(in progress)

// TODO(alanorozco): On integration tests, `getLayoutBox` will returned
// a cached default value, which makes these assertions fail. Move to
// `describes.integration` to see if that fixes it.
if (!element.hasAttribute('i-amphtml-integration-test')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would !getMode().test work instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

That would be the case, but this is unit-tested as well, so we need to discern between the integration bug and the unit tests.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see

@alanorozco alanorozco merged commit bf11b71 into ampproject:master Nov 14, 2018
@alanorozco alanorozco deleted the video-iframe-tests branch November 14, 2018 22:09
@rsimha
Copy link
Contributor

rsimha commented Nov 15, 2018

Seems like this has broken master:

https://travis-ci.org/ampproject/amphtml/jobs/455224522#L714

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

5 participants