-
Notifications
You must be signed in to change notification settings - Fork 3
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
Enabling the Tile Component to utilise the image component #23
Conversation
Taking IP/Dev |
@@ -1,6 +1,6 @@ | |||
var image = { | |||
src: 'http://brand.holidayextras.com/img/product-main.jpg', | |||
alt: 'Two course meal' | |||
alt: 'Tender sirloin steak with blue cheese dressing' |
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.
Should we change <UIToolkit.Tile image={image} title
on line 7, to also equal this?
Taking SE/Dev |
Looks good to me +1 |
taking guru |
Can we start adding some real tests for these components now? Perhaps one that asserts the imageComponent is rendered and is in the correct place would be a good start? |
👍 |
@lukehansell-hx There is a PR to move from JEST to Mocha/Chai so I don't want to write tests here which conflict. More tests will be written once we have moved. |
👍 from me... can I ask what the change in test suite is for? I'm not overly fond of Jest, but I do like the stubbing functionality it gives us. |
@lukehansell-hx we have moved for a few reasons..
|
Enabling the Tile Component to utilise the image component
What does this PR do?
What unit or integration tests does this PR have?
None
What selenium tests does this PR have?
None
How should a developer review this?
The best way to test this would be to
console.log
in the image component and make sure the log is shown when running the docsHow should this be manually tested?
npm install
grunt docs
Check that images are displayed on the docs
Any background context you want to provide?
What are the relevant tickets?
UXUI-250
What gif best describes how you feel about this work?
Developer Definition of Done/Quality Checklist (for PR author to complete BEFORE code review):
IP or Developer Review:
Software Engineer or Developer review:
Software Engineer or project guru review: