Conversation
|
Caution: This PR has changes that must be merged to WordPress.com |
This is an automated check which relies on |
a98be0a to
6d5bf6d
Compare
|
Copons, Your synced wpcom patch D41155-code has been updated. |
jeherve
left a comment
There was a problem hiding this comment.
This looks good to me. I rebased to address some unrelated issues with e2e tests that were causing Travis tests to fail.
|
It looks like the Pinterest and EventBrite tests are still failing: |
6d5bf6d to
1b3e2a4
Compare
|
Copons, Your synced wpcom patch D41155-code has been updated. |
|
Copons, Your synced wpcom patch D41155-code has been updated. |
|
@Copons & @jeherve - I fixed the e2e tests - it mostly needed a wait adding to allow the url to resolve - but also resolving the url seemed to changed the embed on the frontend for pinterest, so selector for that needed changing. I also modified the pinterest one to allow the pinId to be passed into the page object to match the way the newer eventbrite one was working while I was at it. |
| }; | ||
|
|
||
| this.setState( { resolvedStatusCode: null } ); | ||
| testEmbedUrl( newAttributes.url, this.setIsResolvingUrl ) |
There was a problem hiding this comment.
for a follow up PR at this stage, but I wonder if we convert this to a functional component if we can abstract this further with a custom hook?
There was a problem hiding this comment.
Oh, that's interesting, I've never created a custom hook, so I didn't think of doing something like that!
|
@jeherve Thanks to @glendaviesnz's change Travis is now passing! 🎉 |
|
r205396-wpcom |
Fixes #14439
Fixes #14896
Changes proposed in this Pull Request:
testEmbedUrlshared function on Eventbrite and Pinterest.withNoticesto warn when the provided URL is not embeddable.--no-verifybecause of a current issue with ESLint, that throws an error when parsing template literals.Testing instructions:
Eventbrite:
Pinterest:
Proposed changelog entry for your changes: