Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[desktop-client] Add missing E2E tests

Đang mở
#1,228 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, typescript
Lĩnh vực
desktop, testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

  • 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
Ngôn ngữ chính
Rust
Star
371
Fork
41
Merge trung bình
18 giờ 58 phút
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DefGuard/client

Tất cả issue của DefGuard/client

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.