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

14
test/package.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "test",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@playwright/test":"1.51.1"
},
"author": "",
"license": "ISC",
"description": ""
}