2023-11-15 12:29:39 +01:00
|
|
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
2020-12-03 17:22:05 +01:00
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
exports[`CommentTree > renders a comment tree with comments 1`] = `
|
2022-08-26 16:08:58 +02:00
|
|
|
"<div data-v-5d0380ab=\\"\\">
|
2023-11-15 12:29:39 +01:00
|
|
|
<form data-v-5d0380ab=\\"\\" class=\\"mt-2\\">
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2023-11-15 12:29:39 +01:00
|
|
|
<article data-v-5d0380ab=\\"\\" class=\\"flex flex-wrap items-start gap-2\\">
|
|
|
|
<figure data-v-5d0380ab=\\"\\" class=\\"\\">
|
|
|
|
<identity-picker-wrapper-stub data-v-5d0380ab=\\"\\" modelvalue=\\"[object Object]\\" inline=\\"false\\" masked=\\"false\\"></identity-picker-wrapper-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</figure>
|
2023-11-15 12:29:39 +01:00
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"flex-1\\">
|
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"flex flex-col gap-2\\">
|
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"editor-wrapper\\">
|
|
|
|
<editor-stub data-v-5d0380ab=\\"\\" currentactor=\\"[object Object]\\" mode=\\"comment\\" modelvalue=\\"\\" aria-label=\\"Comment body\\" placeholder=\\"Write a new comment\\"></editor-stub>
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-15 12:29:39 +01:00
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"\\">
|
|
|
|
<o-button-stub data-v-5d0380ab=\\"\\" variant=\\"primary\\" iconleft=\\"send\\" rounded=\\"false\\" outlined=\\"false\\" loading=\\"false\\" expanded=\\"false\\" inverted=\\"false\\" nativetype=\\"submit\\" tag=\\"button\\" disabled=\\"false\\" iconboth=\\"false\\"></o-button-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</form>
|
2023-11-15 12:29:39 +01:00
|
|
|
<transition-group-stub data-v-5d0380ab=\\"\\" tag=\\"div\\" name=\\"comment-empty-list\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\" class=\\"mt-2\\">
|
|
|
|
<transition-group-stub data-v-5d0380ab=\\"\\" name=\\"comment-list\\" tag=\\"ul\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\" class=\\"comment-list\\">
|
|
|
|
<event-comment-stub data-v-5d0380ab=\\"\\" comment=\\"[object Object]\\" event=\\"[object Object]\\" currentactor=\\"[object Object]\\" rootcomment=\\"true\\" readonly=\\"false\\" class=\\"root-comment my-2\\"></event-comment-stub>
|
|
|
|
<event-comment-stub data-v-5d0380ab=\\"\\" comment=\\"[object Object]\\" event=\\"[object Object]\\" currentactor=\\"[object Object]\\" rootcomment=\\"true\\" readonly=\\"false\\" class=\\"root-comment my-2\\"></event-comment-stub>
|
2021-04-08 09:53:46 +02:00
|
|
|
</transition-group-stub>
|
2021-05-03 14:52:37 +02:00
|
|
|
</transition-group-stub>
|
2022-07-12 10:55:28 +02:00
|
|
|
</div>"
|
2020-12-03 17:22:05 +01:00
|
|
|
`;
|
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
exports[`CommentTree > renders a loading comment tree 1`] = `
|
2022-08-26 16:08:58 +02:00
|
|
|
"<div data-v-5d0380ab=\\"\\">
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2023-11-15 12:29:39 +01:00
|
|
|
<p data-v-5d0380ab=\\"\\" class=\\"text-center\\">Loading comments…</p>
|
2022-07-12 10:55:28 +02:00
|
|
|
</div>"
|
2021-08-02 19:26:23 +02:00
|
|
|
`;
|
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
exports[`CommentTree > renders an empty comment tree 1`] = `
|
2022-08-26 16:08:58 +02:00
|
|
|
"<div data-v-5d0380ab=\\"\\">
|
2023-11-15 12:29:39 +01:00
|
|
|
<form data-v-5d0380ab=\\"\\" class=\\"mt-2\\">
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2023-11-15 12:29:39 +01:00
|
|
|
<article data-v-5d0380ab=\\"\\" class=\\"flex flex-wrap items-start gap-2\\">
|
|
|
|
<figure data-v-5d0380ab=\\"\\" class=\\"\\">
|
|
|
|
<identity-picker-wrapper-stub data-v-5d0380ab=\\"\\" modelvalue=\\"[object Object]\\" inline=\\"false\\" masked=\\"false\\"></identity-picker-wrapper-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</figure>
|
2023-11-15 12:29:39 +01:00
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"flex-1\\">
|
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"flex flex-col gap-2\\">
|
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"editor-wrapper\\">
|
|
|
|
<editor-stub data-v-5d0380ab=\\"\\" currentactor=\\"[object Object]\\" mode=\\"comment\\" modelvalue=\\"\\" aria-label=\\"Comment body\\" placeholder=\\"Write a new comment\\"></editor-stub>
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-15 12:29:39 +01:00
|
|
|
<div data-v-5d0380ab=\\"\\" class=\\"\\">
|
|
|
|
<o-button-stub data-v-5d0380ab=\\"\\" variant=\\"primary\\" iconleft=\\"send\\" rounded=\\"false\\" outlined=\\"false\\" loading=\\"false\\" expanded=\\"false\\" inverted=\\"false\\" nativetype=\\"submit\\" tag=\\"button\\" disabled=\\"false\\" iconboth=\\"false\\"></o-button-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</form>
|
2023-11-15 12:29:39 +01:00
|
|
|
<transition-group-stub data-v-5d0380ab=\\"\\" tag=\\"div\\" name=\\"comment-empty-list\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\" class=\\"mt-2\\">
|
|
|
|
<empty-content-stub data-v-5d0380ab=\\"\\" icon=\\"comment\\" descriptionclasses=\\"\\" inline=\\"true\\" center=\\"false\\"></empty-content-stub>
|
2021-05-03 14:52:37 +02:00
|
|
|
</transition-group-stub>
|
2022-07-12 10:55:28 +02:00
|
|
|
</div>"
|
2020-12-03 17:22:05 +01:00
|
|
|
`;
|