[desktop-client] Add missing E2E tests
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust, typescript
- 领域
- desktop, testing-qa
调研方向
Start by reading the existing cases in e2e/tests/enrollment.spec.ts and the desktop client's E2E test setup to understand how tests are run and how client actions are exercised. The issue lists the scenarios and target files, including several new spec files; work through the cases and run the relevant E2E suite. Done means each listed scenario is covered and passes, but the broad cross-feature scope makes this a substantial effort.
由索引模型根据 Issue 内容生成。
描述
-
e2e/tests/enrollment.spec.ts:54: duplicate device name rejected ("Name already used."), invalid token rejected -
e2e/tests/enrollment.spec.ts:70: wrong TOTP code on connect is rejected, location stays disconnected -
e2e/tests/instance.spec.ts(new): delete instance (last instance → "Add Defguard items"), update instance with new token (valid, empty, invalid) -
e2e/tests/mfaConfiguration.spec.ts(new): configure TOTP from client, select methods validation, cancel and restart, add method from Add page (single instance), verify identity with TOTP, recovery codes after first method -
e2e/tests/mfaConfigurationLocation.spec.ts(new): configure MFA from location card, from location MFA settings, several methods in one session, verification method choice, instance picker (two instances) -
e2e/tests/multiStepMfa.spec.ts(new): connect to multi-step MFA location -
e2e/tests/reenrollment.spec.ts(new): re-enrollment without required MFA keeps TOTP secret -
e2e/tests/synchronization.spec.ts(new): location change in Core (name, Allowed IPs) applied by client -
e2e/tests/trafficPolicy.spec.ts(new): "Disable all traffic" / "Force all traffic" lock traffic mode on location card -
e2e/tests/settings.spec.ts(new): logging threshold, MTU (check interface MTU, location MTU vs client MTU), session timeout, settings persist after restart -
e2e/tests/connectionStats.spec.ts(new): connection stats refresh in full view -
e2e/tests/splitDns.spec.ts(new): split DNS on Linux -
e2e/tests/directConnection.spec.ts(new): direct connection to gateway when location has no posture check
- 主要语言
- Rust
- 星标
- 371
- 派生
- 41
- 平均合并
- 18 小时 58 分钟
- 30 天内合并 PR
- 41
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DefGuard/client 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
DefGuard/client#1226 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
feature
难度 4/5 3-5 天 新手友好度 42/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 55/100
维护者通常 1 天内回复
相似的 Issue
-
app enhancement
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 80/100
elodin-sys/elodin#890 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
guidance-ai/llguidance#391 ·
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
Verifiedz/Shimmer#144 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
Y-ASLant/ElegantClipboard#166 ·