Compare commits

...

3 Commits

Author SHA1 Message Date
严浩
951ea8be48 test(e2e): 添加 AppLayout 组件的测试用例 2025-09-09 22:52:54 +08:00
严浩
6266fb4511 build: 移除 package.json 中的 packageManager 字段 2025-09-09 22:52:54 +08:00
严浩
28adc12ac1 build(deps): 使用 rolldown-vite 包 2025-09-09 22:52:49 +08:00
4 changed files with 8 additions and 9331 deletions

View File

@@ -50,4 +50,11 @@ test.describe('Vue App', () => {
await expect(button).toHaveText('Name from API is: Unknown')
})
test('app-layout is present', async ({ page }) => {
await page.goto('/')
const appLayout = page.locator('.app-layout')
await expect(appLayout).toBeVisible()
await expect(appLayout).toContainText('AppLayout')
})
})

View File

@@ -1,5 +1,4 @@
{
"packageManager": "pnpm@10.15.1",
"name": "vue-ts-example-2025",
"version": "0.0.0",
"private": true,

9329
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
<script setup lang="ts"></script>
<template>
<div>
<div class="app-layout">
<div>AppLayout</div>
<router-view />
</div>