-
Notifications
You must be signed in to change notification settings - Fork 224
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
Integrate canonical navigation animation #5057
Conversation
Jenkins is failing on rendering a Brand with a Skip to content link. However, that issue is being fixed in #4948 . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
@@ -30,6 +30,14 @@ describe('defaultPageWrapper', () => { | |||
}, | |||
}; | |||
|
|||
window.matchMedia = jest.fn().mockImplementation(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can skip this since we won't need the hook
once we pull in the changes in this PR BBC-archive/psammead#2875
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, removed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Testing: Have verified the changes that have gone in this integration.Looks good except the navigation dropdown menu doesn't animate on ios device(tested on ios 13,12). |
Thank you Priya! Looking into it now. |
The ios issue would be fixed in a separate PR and its good to merge. |
Ticket for the IOS issue that will be dealt with separately: BBC-archive/psammead#2898 |
Resolves #NUMBER
Overall change:
Pull in new version of navigation from Psammead and add canonical animation to the new navigation.
Code changes:
Testing:
CYPRESS_APP_ENV=local CYPRESS_SMOKE=false npm run test:e2e:interactive
)