2022-07-12 10:55:28 +02:00
|
|
|
// Vitest Snapshot v1
|
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=\\"\\">
|
|
|
|
<form class=\\"\\" data-v-5d0380ab=\\"\\">
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2022-08-26 16:08:58 +02:00
|
|
|
<article class=\\"flex flex-wrap items-start gap-2\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<figure class=\\"\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<identity-picker-wrapper-stub modelvalue=\\"[object Object]\\" inline=\\"false\\" masked=\\"false\\" data-v-5d0380ab=\\"\\"></identity-picker-wrapper-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</figure>
|
2022-08-26 16:08:58 +02:00
|
|
|
<div class=\\"flex-1\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<div class=\\"flex flex-col gap-2\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<div class=\\"editor-wrapper\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<editor-stub currentactor=\\"[object Object]\\" mode=\\"comment\\" modelvalue=\\"\\" aria-label=\\"Comment body\\" data-v-5d0380ab=\\"\\"></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>
|
2022-08-26 16:08:58 +02:00
|
|
|
<div class=\\"\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<o-button-stub variant=\\"primary\\" iconleft=\\"send\\" rounded=\\"false\\" outlined=\\"false\\" expanded=\\"false\\" inverted=\\"false\\" nativetype=\\"submit\\" tag=\\"button\\" disabled=\\"false\\" iconboth=\\"false\\" data-v-5d0380ab=\\"\\"></o-button-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</form>
|
2022-08-26 16:08:58 +02:00
|
|
|
<transition-group-stub data-v-5d0380ab=\\"\\">
|
|
|
|
<transition-group-stub data-v-5d0380ab=\\"\\">
|
|
|
|
<comment-stub comment=\\"[object Object]\\" event=\\"[object Object]\\" currentactor=\\"[object Object]\\" rootcomment=\\"true\\" class=\\"root-comment\\" data-v-5d0380ab=\\"\\"></comment-stub>
|
|
|
|
<comment-stub comment=\\"[object Object]\\" event=\\"[object Object]\\" currentactor=\\"[object Object]\\" rootcomment=\\"true\\" class=\\"root-comment\\" data-v-5d0380ab=\\"\\"></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-->
|
2022-08-26 16:08:58 +02:00
|
|
|
<p class=\\"text-center\\" data-v-5d0380ab=\\"\\">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=\\"\\">
|
|
|
|
<form class=\\"\\" data-v-5d0380ab=\\"\\">
|
2022-07-12 10:55:28 +02:00
|
|
|
<!--v-if-->
|
2022-08-26 16:08:58 +02:00
|
|
|
<article class=\\"flex flex-wrap items-start gap-2\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<figure class=\\"\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<identity-picker-wrapper-stub modelvalue=\\"[object Object]\\" inline=\\"false\\" masked=\\"false\\" data-v-5d0380ab=\\"\\"></identity-picker-wrapper-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</figure>
|
2022-08-26 16:08:58 +02:00
|
|
|
<div class=\\"flex-1\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<div class=\\"flex flex-col gap-2\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<div class=\\"editor-wrapper\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<editor-stub currentactor=\\"[object Object]\\" mode=\\"comment\\" modelvalue=\\"\\" aria-label=\\"Comment body\\" data-v-5d0380ab=\\"\\"></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>
|
2022-08-26 16:08:58 +02:00
|
|
|
<div class=\\"\\" data-v-5d0380ab=\\"\\">
|
|
|
|
<o-button-stub variant=\\"primary\\" iconleft=\\"send\\" rounded=\\"false\\" outlined=\\"false\\" expanded=\\"false\\" inverted=\\"false\\" nativetype=\\"submit\\" tag=\\"button\\" disabled=\\"false\\" iconboth=\\"false\\" data-v-5d0380ab=\\"\\"></o-button-stub>
|
2021-06-10 14:44:56 +02:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</form>
|
2022-08-26 16:08:58 +02:00
|
|
|
<transition-group-stub data-v-5d0380ab=\\"\\">
|
|
|
|
<empty-content-stub icon=\\"comment\\" descriptionclasses=\\"\\" inline=\\"true\\" center=\\"false\\" data-v-5d0380ab=\\"\\"></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
|
|
|
`;
|