add test for registration of new user

This commit is contained in:
2024-08-22 20:21:37 -06:00
parent 8d0cc8e0d1
commit 7a25892472
8 changed files with 87 additions and 20 deletions

View File

@@ -129,7 +129,10 @@
</div>
<div class="text-slate-500 text-sm font-bold">ID</div>
<div class="text-sm text-slate-500 flex justify-start items-center mb-1">
<div
class="text-sm text-slate-500 flex justify-start items-center mb-1"
data-testId="didWrapper"
>
<code class="truncate">{{ activeDid }}</code>
<button
@click="

View File

@@ -22,8 +22,8 @@
</div>
<div class="flex justify-center py-12">
<span />
<span v-if="loading">
<div />
<div v-if="loading">
<span class="text-xl">Creating...&nbsp;</span>
<fa
icon="spinner"
@@ -31,8 +31,8 @@
color="green"
size="128"
></fa>
</span>
<span v-else>
</div>
<div v-else>
<span class="text-xl">Created!</span>
<fa
icon="burst"
@@ -45,8 +45,8 @@
--fa-beat-scale: 6;
"
></fa>
</span>
<span />
</div>
<div />
</div>
</section>
</template>

View File

@@ -58,6 +58,7 @@
<a
@click="onClickNewSeed()"
class="block w-full text-center text-lg uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2 cursor-pointer"
data-testId="newSeed"
>
Generate one with a new seed
</a>