[core] Add new E2E tests
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- playwright, typescript
- Domain
- testing-qa
Research direction
The issue lists E2E test files under e2e/tests/, including existing specs and many new specs to create. Start by reading a nearby test in that directory and the relevant existing test setup; the issue does not specify individual application entry points or test commands. Done means implementing the listed scenarios across the specified files and verifying they pass.
Written by the indexing model from the issue text.
Description
-
e2e/tests/apiTokens.spec.ts: rename token, delete token (request with removed token → 401), empty state / no tab for non-admin -
e2e/tests/authenticationKeys.spec.ts: rename key, delete key, keys list -
e2e/tests/mfaManagement.spec.ts(new): disable TOTP, disable email, remove security key, "Disable all" MFA, admin "Disable MFA" for user -
e2e/tests/mfaFlows.spec.ts(new): list (search, step filter), add (validation, method availability), edit, delete (blocked when only/default flow), location default flow + group override -
e2e/tests/users.spec.ts: edit user details, add device for enrolled user -
e2e/tests/device.spec.ts: edit device, delete device, show configuration, devices list ("Add new device" disabled without locations) -
e2e/tests/profile.spec.ts(new): non-admin can edit only phone number -
e2e/tests/groups.spec.ts: edit group (rename, admin group), delete group (blocked when only allowed group in location), edit members -
e2e/tests/acl.spec.ts: add destination, add rules (all/specific locations, manual destination, alias, predefined destination, users/groups/network devices permissions, all restrictions variants), edit alias/destination/rule, deployed/pending lists -
e2e/tests/networkdevice.spec.ts: edit device, delete device, devices list -
e2e/tests/openidApps.spec.ts(new): add, edit, disable/enable, delete, list, copy client ID/secret -
e2e/tests/locations.spec.ts(new): edit location ("Save location changes" dialog), delete, list table, sorting, search -
e2e/tests/edges.spec.ts(new): edit, disable, delete, list table, sorting -
e2e/tests/gateways.spec.ts(new): edit, disable, delete, list table, sorting -
e2e/tests/wizard.spec.ts: add location wizard with MFA flow assignment -
e2e/tests/postureChecks.spec.ts(new): create posture check for each OS (Windows, macOS, Linux, iOS, Android) with its specific conditions, edit, delete, list -
e2e/tests/enrollmentSettings.spec.ts(new): welcome message, welcome email, enrollment session duration -
e2e/tests/settings.spec.ts(new): instance name, public Edge URL, client traffic policy, device management for users, WireGuard config for users, session duration, SMTP save and delete (incl. blocked dialog), gateway notifications, LDAP form save ("Test connection" disabled until required fields filled), activity log streaming add/edit/delete, CA details, license details, invalid license key -
e2e/tests/staticIp.spec.ts(new): assign/modify static IP (taken/invalid IP error), user with no devices -
e2e/tests/overview.spec.ts(new): change stats period, location details (empty states) -
e2e/tests/activityLog.spec.ts(new): activity log list
- Dominant language
- Rust
- Stars
- 2.9k
- Forks
- 119
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 57
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DefGuard/defguard
-
Invalid log level when LDAP credentials are invalidPossibly taken @Va1ter claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
DefGuard/defguard#3851 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Incorrect "Edit workflow" label for MFA flow formPossibly taken @j-chmielewski claimed this today. Openbug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
DefGuard/defguard#3844 · 1 assignee ·
Maintainers usually reply within 1 day
-
Invalid hover on the OS delete in posture check edit formPossibly taken @jakub-tldr claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DefGuard/defguard#3842 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DefGuard/defguard#3751 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in DefGuard/defguard
Similar issues
-
area::tern difficulty::easy good first issue kind::cleanup triage::ready
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
eclipse-zenoh/zenoh#2842 · 2 comments ·
Maintainers usually reply within 1 day
-
中文字符导致软件崩溃Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Y-ASLant/ElegantClipboard#172 ·
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SaboLabs/soroban-devkit#341 ·
Maintainers usually reply within 1 day
-
agent:sonnet-high enhancement priority: P2 ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
shep-pm/shep-kelpie#652 ·
Maintainers usually reply within 1 day