From 601436cf99b4b4f964f3a65f7e5722013ed7066d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Curcio?= Date: Fri, 14 Sep 2018 17:56:32 -0300 Subject: [PATCH] Updated snapshots --- .../__snapshots__/App.spec.tsx.snap | 35 +- .../__snapshots__/editComment.spec.tsx.snap | 4282 ++++++++--------- .../__snapshots__/loadMore.spec.tsx.snap | 609 +-- .../__snapshots__/permalinkView.spec.tsx.snap | 179 +- .../permalinkViewAssetNotFound.spec.tsx.snap | 65 +- ...permalinkViewCommentNotFound.spec.tsx.snap | 101 +- .../__snapshots__/postComment.spec.tsx.snap | 1933 ++++---- .../__snapshots__/postReply.spec.tsx.snap | 2500 +++++----- .../__snapshots__/renderReplies.spec.tsx.snap | 466 ++ .../__snapshots__/renderStream.spec.tsx.snap | 511 +- .../showAllReplies.spec.tsx.snap | 477 +- 11 files changed, 6195 insertions(+), 4963 deletions(-) create mode 100644 src/core/client/stream/test/comments/__snapshots__/renderReplies.spec.tsx.snap diff --git a/src/core/client/stream/components/__snapshots__/App.spec.tsx.snap b/src/core/client/stream/components/__snapshots__/App.spec.tsx.snap index d42a5a3d0..b67368e85 100644 --- a/src/core/client/stream/components/__snapshots__/App.spec.tsx.snap +++ b/src/core/client/stream/components/__snapshots__/App.spec.tsx.snap @@ -1,10 +1,37 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders comments 1`] = ` - - - + + + Comments + + + My Profile + + + + + + + + + + + `; diff --git a/src/core/client/stream/test/comments/__snapshots__/editComment.spec.tsx.snap b/src/core/client/stream/test/comments/__snapshots__/editComment.spec.tsx.snap index 89fa7f723..f24f5c40a 100644 --- a/src/core/client/stream/test/comments/__snapshots__/editComment.spec.tsx.snap +++ b/src/core/client/stream/test/comments/__snapshots__/editComment.spec.tsx.snap @@ -2,212 +2,656 @@ exports[`cancel edit: edit canceled 1`] = `
-
+ + + +
- Signed in as - - Markus - - . -
-
- - Not you?  - -
+
- Sign Out - + + Not you?  + + +
+
+
+
+ +
+
+
+ + + +
+ +
+
+
+
+
+
+ + Powered by + + ⁨The Coral Project⁩ + + +
+ +
+
+
-
-
-
+
+`; + +exports[`edit a comment: edit form 1`] = ` +
+
    + + +
+
+
+
+
+
+
+ Signed in as + + Markus + + . +
+
+ + Not you?  + + +
+
+
+
+
+
+ +
+
+
+ + + +
+ +
+
+
+
+
+
- Markus + Powered by + + ⁨The Coral Project⁩ + +
+ +
+
+ +
+
+
+
+
+
+ + Markus +
+ +
+
+
+ + + +
+
+
+
+
+
+ + + Edit: + + remaining + +
+
+
-
-
- -
-
+
-
-
- - Lukas -
- + Lukas + +
+ +
-
-
-
- + +
-
+
`; -exports[`cancel edit: server response 1`] = ` +exports[`edit a comment: optimistic response 1`] = ` +
+
    + + +
+
+
+
+
+
+
+ Signed in as + + Markus + + . +
+
+ + Not you?  + + +
+
+
+
+
+
+ +
+
+
+ + + +
+ +
+
+
+
+
+
+ + Powered by + + ⁨The Coral Project⁩ + + +
+ +
+
+ +
+
+
+
+
+
+
+ + Markus + + +
+
+
+ +
+
+
+ + + +
+
+
+
+
+
+ + + Edit: + + remaining + +
+
+ + +
+
+ +
+
+
+
+
+
+ + Lukas + +
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+`; + +exports[`edit a comment: render stream 1`] = ` +
+
    + + +
+
+
+
+
+
+
+ Signed in as + + Markus + + . +
+
+ + Not you?  + + +
+
+
+
+
+
+ +
+
+
+ + + +
+ +
+
+
+
+
+
+ + Powered by + + ⁨The Coral Project⁩ + + +
+ +
+
+ +
+
+
+
+
+
+
+ + Markus + +
+ +
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+ + Lukas + +
+ +
+
+
+
+
+ +
+
+
+
+
+
+
+
+`; + +exports[`edit a comment: server response 1`] = `
@@ -736,225 +2137,126 @@ exports[`cancel edit: server response 1`] = `
`; -exports[`edit a comment: edit form 1`] = ` +exports[`shows expiry message: edit form closed 1`] = `
-
+ + + +
- Signed in as - - Markus - - . -
-
- - Not you?  - - -
-
-
-
-
-
- -
-
-
- - - -
- -
-
-
-
-
+ Signed in as - Powered by - - ⁨The Coral Project⁩ - + Markus + .
- + + Not you?  + + +
-
-
-
-
-
-
- - Markus - - -
-
+
- - - Edit: - - remaining - -
-
- + Powered by + + ⁨The Coral Project⁩ + + +
-
-
-
-
- - Lukas - -
- -
-
-
-
-
- -
-
-
-
-
-
-
-`; - -exports[`edit a comment: optimistic response 1`] = ` -
-
-
-
-
-
- Signed in as - - Markus - - . -
-
- - Not you?  - - -
-
-
-
-
- -
-
-
- - - -
- -
-
-
-
- - Powered by - - ⁨The Coral Project⁩ - - -
- -
-
- -
-
-
-
-
-
- - Markus - - -
-
-
- -
-
- - - -
+ Markus +
+ +
+
+
+
-
-
- - - Edit: - - remaining - -
-
- - -
-
-
-
-
-
-
-
- - Lukas - -
- -
-
-
-
-
- -
-
-
-
-
-
-
-`; - -exports[`edit a comment: render stream 1`] = ` -
-
-
-
-
-
- Signed in as - - Markus - - . -
-
- - Not you?  - - -
-
-
-
-
-
- -
-
-
- - - -
- -
-
-
-
-
-
- - Powered by - - ⁨The Coral Project⁩ - - -
- -
-
- -
-
-
-
-
-
+ } + />
- - Markus - -
- -
-
-
-
-
- -
-
-
-
-
-
-
- - Lukas - -
- -
-
-
-
-
- -
-
-
-
-
-
-
-`; - -exports[`edit a comment: server response 1`] = ` -
-
-
-
-
-
- Signed in as - - Markus - - . -
-
- - Not you?  - - -
-
-
-
-
- -
-
-
- - - -
- -
-
-
-
- - Powered by - - ⁨The Coral Project⁩ - - -
- -
-
- -
-
-
-
-
-
- - Markus -
- + Lukas +
- ( - - Edited - - ) +
-
- -
-
-
-
- -
-
-
-
-
-
-
-
- - Lukas - -
- -
-
-
-
-
- -
-
-
-
-
-
-
-`; - -exports[`shows expiry message: edit form closed 1`] = ` -
-
-
-
-
-
- Signed in as - - Markus - - . -
-
- - Not you?  - - -
-
-
-
-
-
- -
-
-
- - - -
- -
-
-
-
-
-
- - Powered by - - ⁨The Coral Project⁩ - - -
- -
-
- -
-
-
-
-
-
+ } + />
- - Markus - -
- -
-
-
-
-
- -
-
-
-
-
-
-
-
-
- - Lukas - -
- -
-
-
-
-
- -
-
+
`; exports[`shows expiry message: edit time expired 1`] = `
-
+ + + +
- Signed in as - - Markus - - . -
-
- - Not you?  - - -
-
-
-
-
-
- -
-
-
- - - -
- -
-
-
-
-
+ Signed in as - Powered by - - ⁨The Coral Project⁩ - + Markus + .
- + + Not you?  + + +
-
-
-
-
-
-
- - Markus - - -
-
+
- - Edit time has expired. You can no longer edit this comment. Why not post another one? -
-
+ + Powered by + + ⁨The Coral Project⁩ + + +
-
-
- - Lukas - +
+ + Markus +
-
-
-
- + + +
+
+
+
+
+
- - Reply + - + Edit time has expired. You can no longer edit this comment. Why not post another one? +
+
+ +
+
+ +
+
+
+
+
+
+ + Lukas + +
+ +
+
+
+
+
+ +
-
+
`; diff --git a/src/core/client/stream/test/comments/__snapshots__/loadMore.spec.tsx.snap b/src/core/client/stream/test/comments/__snapshots__/loadMore.spec.tsx.snap index 84c4e89de..7b27a731f 100644 --- a/src/core/client/stream/test/comments/__snapshots__/loadMore.spec.tsx.snap +++ b/src/core/client/stream/test/comments/__snapshots__/loadMore.spec.tsx.snap @@ -347,284 +347,22 @@ exports[`loads more comments 1`] = ` exports[`renders comment stream 1`] = `
-
-