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

Headline | Docs | Testing and Documentation for Headline Component #1210

Merged
merged 5 commits into from Jul 15, 2019

Conversation

TashaBasalt
Copy link
Contributor

@TashaBasalt TashaBasalt commented Jun 17, 2019

Jira

http://vjira2:8080/browse/BDS-986

Summary

Adding Jest Snapshot tests of headline component and a TESTING.md file.

Details

Added tests to cover various combinations of font sizes and weights, but I'm not sure that amount of specificity is required. There is also a 'quoted' example of text in the Bolt Pattern Lab, but the sample text isn't actually quoted in any way. Is that an error?

How to test

yarn test:js

@margoromo
Copy link
Contributor

Hey @mikemai2awesome - can you review this? Some questions in the PR.

Copy link
Contributor

@joekarasek joekarasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TashaBasalt Good work. Lets go through the TESTING.md with a fine tooth comb with an eye for "how to describe this for someone with minimal technical expertise" and for typos.

@joekarasek joekarasek changed the title Feature/headline Headline | Docs | Testing and Documentation for Headline component Jun 18, 2019
@TashaBasalt TashaBasalt changed the title Headline | Docs | Testing and Documentation for Headline component Headline | Docs | Testing and Documentation for Headline Component Jun 18, 2019
Just adding here that the quotes should be present.
@sghoweri
Copy link
Contributor

sghoweri commented Jul 1, 2019

@joekarasek @TashaBasalt just checking in -- what's the status on this one?

@TashaBasalt
Copy link
Contributor Author

@sghoweri We're still waiting on confirmation for whether or not to have the TESTING.md describe a successful function that isn't actually functional.

Copy link
Contributor

@joekarasek joekarasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue with the "quoted" variation has been resolved. We added that functionality to the the TESTING.md docs even though it is currently not working.

@joekarasek
Copy link
Contributor

@sghoweri @mikemai2awesome This is now ready for final review/merge.

  1. Re: quoted variation. We added "text should be quoted" to the TESTING.md even though that feature does not seem to be working.
  2. Looks like the build failed on a test unrelated to this work "auto-link replacement of urls on bolt-button". Gonna do a fresh merge of master and a new deploy to see if it resolves the issue. I'm assuming its either an out of date dependency or a one-off false positive.

@sghoweri
Copy link
Contributor

Thanks guys!!

@sghoweri sghoweri merged commit 9571d5e into master Jul 15, 2019
@sghoweri sghoweri deleted the feature/headline branch July 15, 2019 13:41
@sghoweri sghoweri mentioned this pull request Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants