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

ComponentsIT.testEmbed failing #2703

Closed
reschke opened this issue Mar 27, 2024 · 0 comments · Fixed by #2704
Closed

ComponentsIT.testEmbed failing #2703

reschke opened this issue Mar 27, 2024 · 0 comments · Fixed by #2704

Comments

@reschke
Copy link

reschke commented Mar 27, 2024

This test has started failing for us in the last ~48 hours:

[2024-03-26T21:53:23.281Z] [INFO] [ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.332 s <<< FAILURE! - in com.adobe.cq.wcm.core.components.it.http.ComponentsIT
[2024-03-26T21:53:23.282Z] [INFO] [ERROR] testEmbed(com.adobe.cq.wcm.core.components.it.http.ComponentsIT)  Time elapsed: 0.663 s  <<< FAILURE!
[2024-03-26T21:53:23.282Z] [INFO] org.junit.ComparisonFailure: .embed.embed-v1 does not match embed-v1-url-youtube.html expected:<...er="0" height="113" []src="https://www.you...> but was:<...er="0" height="113" [referrerpolicy="strict-origin-when-cross-origin" ]src="https://www.you...>

So it seems the server is now embedding a reffererpolicy attribute that the test doesn't want to see (as per: https://github.com/adobe/aem-core-wcm-components/blob/main/testing/it/http/src/test/resources/components/embed-v1-url-youtube.html)

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