feat: add playwright e2e testing framework (#4468)

* feat: add playwright e2e testing framework
This commit is contained in:
Vben
2024-09-22 21:35:40 +08:00
committed by GitHub
parent 4b3d2d21ed
commit 2a83f1d666
22 changed files with 345 additions and 300 deletions

View File

@@ -51,6 +51,7 @@ defineExpose({
}"
:style="style"
class="bg-background dark:bg-accent absolute left-0 top-0 flex h-full cursor-move items-center justify-center px-3.5 shadow-md"
name="captcha-action"
>
<Slot :is-passing="isPassing" class="text-foreground/60 size-4">
<slot name="icon">

View File

@@ -95,6 +95,7 @@ function goToLogin() {
:class="{
'cursor-wait': loading,
}"
aria-label="submit"
class="mt-2 w-full"
@click="handleSubmit"
>

View File

@@ -129,6 +129,7 @@ onMounted(() => {
'cursor-wait': loading,
}"
:loading="loading"
aria-label="login"
class="w-full"
@click="handleSubmit"
>

View File

@@ -97,6 +97,7 @@ function goToLogin() {
'cursor-wait': loading,
}"
:loading="loading"
aria-label="register"
class="mt-2 w-full"
@click="handleSubmit"
>