- Add data-testid to 18 Vue components (Pages, Blocks, Features, Layouts, Primitives)
- Naming convention: {component-kebab}-{element-description}
- 98 total data-testid attributes added
- Target elements: buttons, links, inputs, modals, navigation
- No logic/styling changes - attributes only
31 lines
912 B
Vue
31 lines
912 B
Vue
<script setup>
|
|
import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout.vue';
|
|
import { Head } from '@inertiajs/vue3';
|
|
</script>
|
|
|
|
<template>
|
|
<Head title="Übersicht" />
|
|
|
|
<AuthenticatedLayout>
|
|
<template #header>
|
|
<h2
|
|
class="text-xl font-semibold leading-tight text-gray-800"
|
|
>
|
|
Übersicht
|
|
</h2>
|
|
</template>
|
|
|
|
<div class="py-12">
|
|
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8">
|
|
<div
|
|
class="overflow-hidden bg-white shadow-sm sm:rounded-lg"
|
|
>
|
|
<div class="p-6 text-gray-900">
|
|
<span data-testid="dashboard-welcome-text">Du bist angemeldet als {{ $page.props.auth.user.name }}.</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</AuthenticatedLayout>
|
|
</template>
|