feat(mobile): 区分移动端token存储键名并添加Playwright测试

修改mobile端token存储键名为'mobile_token'以区分不同客户端
添加Playwright测试套件用于知识库管理功能测试
更新.gitignore忽略node_modules和test-results目录
This commit is contained in:
yourname
2025-05-06 06:24:04 +00:00
parent fb00382b8d
commit f158ff6ff5
6 changed files with 147 additions and 1 deletions

13
test/playwright.config.ts Normal file
View File

@@ -0,0 +1,13 @@
// playwright.config.js
const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
projects: [
{
name: 'chromium',
use: {
browserName: 'chromium',
},
},
],
});