perform front-end unit test from "view/Group" - #1879

This commit is contained in:
Laurent GAY
2025-10-20 11:26:39 +02:00
committed by setop
parent 7ea9645a6c
commit ef6f875e74
18 changed files with 915 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`MyGroups > Show simple 1`] = `
"<section data-v-59f508e2="" class="container mx-auto px-1 mb-6">
<h1 data-v-59f508e2="" class="title">My groups</h1>
<p data-v-59f508e2="">Groups are spaces for coordination and preparation to better organize events and manage your community.</p>
<div data-v-59f508e2="" class="flex my-3"><a data-v-59f508e2="" href="/groups/create" class="o-btn o-btn--primary" role="button" data-oruga="button"><span class="o-btn__wrapper"><!----><span class="o-btn__label">Create group</span>
<!----></span>
</a></div>
<transition-stub data-v-59f508e2="" name="fade" appear="false" persisted="false" css="true">
<!---->
</transition-stub>
<!--v-if-->
<!--v-if-->
<section data-v-59f508e2="" class="text-center not-found">
<div data-v-59f508e2="" class="">
<div data-v-59f508e2="" class="">
<div data-v-59f508e2="" class="text-center prose dark:prose-invert max-w-full">
<p data-v-59f508e2="">You are not part of any group. Do you wish to <a data-v-59f508e2="" href="/groups/create" class="">create a group</a> or <a data-v-59f508e2="" href="/search?contentType=GROUPS" class="">explore the groups</a>?</p>
</div>
</div>
</div>
</section>
</section>"
`;