-
Notifications
You must be signed in to change notification settings - Fork 11
Adds top questions and links #453
Conversation
|
Re: CircleCI: A test was written to fail if the promo boxes have more than two links in them. I'm not sure why that is, but that appears to be the origin of CircleCI failure: |
Mtcarp
left a comment
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 to me. While the other questions are written in first person, I understand the source content for face covering is not and it probably makes sense to keep the wording consistent.
|
Assuming the Circle CI fail is due to changes in how questions are linked? |
|
It looks like the test was written to limit to two the number of questions in each box. I'm checking in with @adunkman about it. |
adunkman
left a comment
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.
👍 from an engineering perspective — with a note about updating the test name to reflect the new assertions.
| boxes.forEach(({title, questions, viewAllText}) => { | ||
| expect(title).not.toEqual(''); | ||
| expect(questions).toHaveLength(2); | ||
| expect(questions).toHaveLength(3); |
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.
Don’t forget to update the name of this test! :)
|
@vbitzer Looks like this is ready for your review and approval to merge. |
Fixes #451
Adds a top question to each promo box: