feat(erp-frontend-vue): add Playwright E2E tests and update layout

Add Playwright configuration and E2E specs for key production, purchasing, and warehouse flows, and update layout/login to align with the new testing setup.

Made-with: Cursor
This commit is contained in:
panchengyong
2026-03-02 21:44:03 +08:00
parent e45616a09b
commit 283f727857
16 changed files with 3230 additions and 818 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -2,8 +2,8 @@
<el-container class="layout-container">
<el-aside :width="isCollapse ? '64px' : '220px'" class="layout-aside">
<div class="logo">
<img src="/vite.svg" alt="Logo" />
<span v-show="!isCollapse">ERP系统</span>
<img src="/src/assets/logo.png" alt="Logo" />
<!-- <span v-show="!isCollapse">铭奕ERP</span> -->
</div>
<el-menu
:default-active="activeMenu"
@@ -227,8 +227,8 @@ const handleCommand = async (command: string) => {
}
.logo img {
width: 32px;
height: 32px;
/* width: 32px; */
height: 48px;
margin-right: 8px;
}

View File

@@ -6,7 +6,7 @@
:rules="loginRules"
class="login-form"
>
<h3 class="title">ERP 企业资源管理系统</h3>
<h3 class="title">铭奕ERP系统</h3>
<el-form-item prop="username">
<el-input