Skip to content

Commit

Permalink
Fix tests and snaps after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-funk committed Jun 8, 2020
1 parent 2fdffe8 commit a198b54
Show file tree
Hide file tree
Showing 12 changed files with 605 additions and 642 deletions.
134 changes: 67 additions & 67 deletions package-lock.json

Large diffs are not rendered by default.

Expand Up @@ -645,11 +645,11 @@ here:
Additional rich-text options
</label>
<div
className="CheckBox-root"
className="CheckBox-root CheckBox-default"
>
<input
checked={false}
className="CheckBox-input"
className="CheckBox-input CheckBox-default"
disabled={false}
id="rte.strikethrough"
name="rte.strikethrough"
Expand All @@ -660,7 +660,7 @@ here:
value={false}
/>
<label
className="CheckBox-label"
className="CheckBox-label CheckBox-default"
htmlFor="rte.strikethrough"
>
<span
Expand All @@ -672,11 +672,11 @@ here:
</div>
<div>
<div
className="CheckBox-root"
className="CheckBox-root CheckBox-default"
>
<input
checked={false}
className="CheckBox-input"
className="CheckBox-input CheckBox-default"
disabled={false}
id="rte.spoiler"
name="rte.spoiler"
Expand All @@ -687,7 +687,7 @@ here:
value={false}
/>
<label
className="CheckBox-label"
className="CheckBox-label CheckBox-default"
htmlFor="rte.spoiler"
>
<span
Expand Down
Expand Up @@ -63,6 +63,7 @@ const ReportCommentFormContainer: FunctionComponent<Props> = ({
return (
<ReportCommentForm
id={comment.id}
data-testid="report-comment-form"
onSubmit={onSubmit}
onCancel={onClose}
/>
Expand Down
Expand Up @@ -122,7 +122,7 @@ exports[`renders comment stream 1`] = `
onFocus={[Function]}
>
<div
className="RTE.module-contentEditableContainer"
className="RTE.module-contentEditableContainer coral coral-rte-container"
>
<div
aria-placeholder="Post a comment"
Expand Down Expand Up @@ -221,21 +221,21 @@ exports[`renders comment stream 1`] = `
className="Box-root Flex-root StreamContainer-tabBarRow Flex-flex Flex-justifySpaceBetween Flex-alignFlexEnd Flex-directionRow"
>
<ul
className="TabBar-root TabBar-secondary coral coral-tabBarSecondary coral-tabBarComments StreamContainer-tabBarRoot"
className="TabBar-root TabBar-streamSecondary coral coral-tabBarSecondary coral-tabBarComments StreamContainer-tabBarRoot"
role="tablist"
>
<div
className="StreamContainer-featuredCommentsTabContainer"
>
<li
className="Tab-root"
className="Tab-root StreamContainer-featureTabRoot"
id="tab-FEATURED_COMMENTS"
role="presentation"
>
<button
aria-controls="tabPane-FEATURED_COMMENTS"
aria-selected={true}
className="BaseButton-root Tab-button Tab-secondary StreamContainer-featuredCommentsTabButton Tab-active StreamContainer-fixedTab coral coral-tabBarSecondary-tab coral-tabBarComments-featured StreamContainer-featuredCommentsTab coral-tabBarSecondary-tab-active"
className="BaseButton-root Tab-button Tab-streamSecondary Tab-active StreamContainer-fixedTab coral coral-tabBarSecondary-tab coral-tabBarComments-featured StreamContainer-featuredCommentsTab coral-tabBarSecondary-tab-active"
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand All @@ -252,7 +252,7 @@ exports[`renders comment stream 1`] = `
Featured
</span>
<span
className="Counter-root Counter-colorPrimary Counter-sizeSmall coral coral-counter"
className="Counter-root Counter-colorInherit Counter-sizeSmall"
data-testid="comments-featuredCount"
>
<span
Expand All @@ -269,18 +269,19 @@ exports[`renders comment stream 1`] = `
>
<button
aria-label="Toggle featured comments tooltip"
className="BaseButton-root TooltipButton-button"
className="BaseButton-root FeaturedCommentTooltip-button"
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
onMouseOut={[Function]}
onMouseOver={[Function]}
onTouchEnd={[Function]}
title="Toggle featured comments tooltip"
type="button"
>
<i
aria-hidden="true"
className="Icon-root Icon-sm Icon-colorPrimary"
className="Icon-root Icon-sm Icon-colorStream"
>
info
</i>
Expand All @@ -301,7 +302,7 @@ exports[`renders comment stream 1`] = `
<button
aria-controls="tabPane-ALL_COMMENTS"
aria-selected={false}
className="BaseButton-root Tab-button Tab-secondary StreamContainer-fixedTab coral coral-tabBarSecondary-tab coral-tabBarComments-allComments"
className="BaseButton-root Tab-button Tab-streamSecondary StreamContainer-fixedTab coral coral-tabBarSecondary-tab coral-tabBarComments-allComments"
onBlur={[Function]}
onClick={[Function]}
onFocus={[Function]}
Expand All @@ -318,7 +319,7 @@ exports[`renders comment stream 1`] = `
All Comments
</span>
<span
className="Counter-root Counter-colorGrey Counter-sizeSmall coral coral-counter"
className="Counter-root Counter-colorGrey Counter-sizeSmall"
>
<span
className="Counter-text"
Expand Down
Expand Up @@ -341,7 +341,7 @@ exports[`edit a comment and handle server error: edit form 1`] = `
onFocus={[Function]}
>
<div
className="RTE.module-contentEditableContainer"
className="RTE.module-contentEditableContainer coral coral-rte-container"
>
<div
aria-placeholder="Edit comment"
Expand Down Expand Up @@ -530,7 +530,7 @@ exports[`edit a comment: edit form 1`] = `
onFocus={[Function]}
>
<div
className="RTE.module-contentEditableContainer"
className="RTE.module-contentEditableContainer coral coral-rte-container"
>
<div
aria-placeholder="Edit comment"
Expand Down Expand Up @@ -719,7 +719,7 @@ exports[`edit a comment: optimistic response 1`] = `
onFocus={[Function]}
>
<div
className="RTE.module-contentEditableContainer RTE.module-contentEditableContainerDisabled"
className="RTE.module-contentEditableContainer coral coral-rte-container RTE.module-contentEditableContainerDisabled"
>
<div
aria-placeholder="Edit comment"
Expand Down Expand Up @@ -1763,7 +1763,7 @@ exports[`shows expiry message: edit time expired 1`] = `
onFocus={[Function]}
>
<div
className="RTE.module-contentEditableContainer RTE.module-contentEditableContainerDisabled"
className="RTE.module-contentEditableContainer coral coral-rte-container RTE.module-contentEditableContainerDisabled"
>
<div
aria-placeholder="Edit comment"
Expand Down
Expand Up @@ -328,28 +328,28 @@ exports[`post a reply: open reply form 1`] = `
 
</span>
<span
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary ReplyTo-text coral coral-createReplyComment-replyToText"
className="ReplyTo-text coral coral-createReplyComment-replyToText"
>
Replying to:
Replying to
<span
className="Box-root Typography-root Typography-heading4 Typography-colorTextPrimary ReplyTo-username coral coral-createReplyComment-replyToUsername"
className="ReplyTo-username coral coral-createReplyComment-replyToUsername"
>
Markus
</span>
</span>
</div>
<div>
<div
className="$root content placeholder toolbar"
className="$root content placeholder toolbar container"
onBlur={[Function]}
onFocus={[Function]}
>
<div
className="RTE.module-contentEditableContainer"
className="RTE.module-contentEditableContainer coral coral-rte-container"
>
<div
aria-placeholder="Write a reply"
className="RTE.module-contentEditable coral coral-rte-content RTE-content"
className="RTE.module-contentEditable coral coral-rte-content ReplyCommentForm-rteContent RTE-content"
id="comments-replyCommentForm-rte-comment-with-deepest-replies-3"
/>
<div
Expand Down Expand Up @@ -427,9 +427,9 @@ exports[`post a reply: open reply form 1`] = `
className="Box-root Flex-root Flex-flex Flex-halfItemGutter Flex-justifyFlexEnd Flex-directionRow gutter"
>
<button
className="BaseButton-root Button-root Button-sizeRegular Button-colorRegular Button-variantOutlined coral coral-createReplyComment-cancel"
data-color="regular"
data-variant="outlined"
className="BaseButton-root Button-root Button-sizeRegular Button-colorMono Button-variantOutline Button-uppercase coral coral-createReplyComment-cancel"
data-color="mono"
data-variant="outline"
disabled={false}
onBlur={[Function]}
onClick={[Function]}
Expand All @@ -442,9 +442,9 @@ exports[`post a reply: open reply form 1`] = `
Cancel
</button>
<button
className="BaseButton-root Button-root Button-sizeRegular Button-colorPrimary Button-variantFilled Button-disabled coral coral-createReplyComment-submit"
data-color="primary"
data-variant="filled"
className="BaseButton-root Button-root Button-sizeRegular Button-colorStream Button-variantRegular Button-uppercase Button-disabled coral coral-createReplyComment-submit"
data-color="stream"
data-variant="regular"
disabled={true}
onBlur={[Function]}
onFocus={[Function]}
Expand Down
Expand Up @@ -284,28 +284,28 @@ exports[`post a reply: open reply form 1`] = `
 
</span>
<span
className="Box-root Typography-root Typography-bodyCopy Typography-colorTextPrimary ReplyTo-text coral coral-createReplyComment-replyToText"
className="ReplyTo-text coral coral-createReplyComment-replyToText"
>
Replying to:
Replying to
<span
className="Box-root Typography-root Typography-heading4 Typography-colorTextPrimary ReplyTo-username coral coral-createReplyComment-replyToUsername"
className="ReplyTo-username coral coral-createReplyComment-replyToUsername"
>
Markus
</span>
</span>
</div>
<div>
<div
className="$root content placeholder toolbar"
className="$root content placeholder toolbar container"
onBlur={[Function]}
onFocus={[Function]}
>
<div
className="RTE.module-contentEditableContainer"
className="RTE.module-contentEditableContainer coral coral-rte-container"
>
<div
aria-placeholder="Write a reply"
className="RTE.module-contentEditable coral coral-rte-content RTE-content"
className="RTE.module-contentEditable coral coral-rte-content ReplyCommentForm-rteContent RTE-content"
id="comments-replyCommentForm-rte-comment-0"
/>
<div
Expand Down Expand Up @@ -383,9 +383,9 @@ exports[`post a reply: open reply form 1`] = `
className="Box-root Flex-root Flex-flex Flex-halfItemGutter Flex-justifyFlexEnd Flex-directionRow gutter"
>
<button
className="BaseButton-root Button-root Button-sizeRegular Button-colorRegular Button-variantOutlined coral coral-createReplyComment-cancel"
data-color="regular"
data-variant="outlined"
className="BaseButton-root Button-root Button-sizeRegular Button-colorMono Button-variantOutline Button-uppercase coral coral-createReplyComment-cancel"
data-color="mono"
data-variant="outline"
disabled={false}
onBlur={[Function]}
onClick={[Function]}
Expand All @@ -398,9 +398,9 @@ exports[`post a reply: open reply form 1`] = `
Cancel
</button>
<button
className="BaseButton-root Button-root Button-sizeRegular Button-colorPrimary Button-variantFilled Button-disabled coral coral-createReplyComment-submit"
data-color="primary"
data-variant="filled"
className="BaseButton-root Button-root Button-sizeRegular Button-colorStream Button-variantRegular Button-uppercase Button-disabled coral coral-createReplyComment-submit"
data-color="stream"
data-variant="regular"
disabled={true}
onBlur={[Function]}
onFocus={[Function]}
Expand Down

0 comments on commit a198b54

Please sign in to comment.