fix: add auth middleware to profile page and update visual snapshots
- Add `middleware: 'auth'` to member/profile.vue (was missing) - Harden loginAsAdmin helper to wait for networkidle after redirect so auth-init plugin and admin middleware finish before tests navigate - Regenerate visual baselines to reflect updated profile page UI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fb25e72215
commit
4271ed0c6f
5 changed files with 12 additions and 3 deletions
|
|
@ -325,6 +325,10 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
definePageMeta({
|
||||
middleware: 'auth',
|
||||
});
|
||||
|
||||
const { memberData, checkMemberStatus } = useAuth();
|
||||
const { openLoginModal } = useLoginModal();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue