Skip to content

E2E: QA Added acceptance tests for user management from user group#22919

Open
nhudinh0309 wants to merge 11 commits into
mainfrom
v18/QA/manage-users-from-user-group-tests
Open

E2E: QA Added acceptance tests for user management from user group#22919
nhudinh0309 wants to merge 11 commits into
mainfrom
v18/QA/manage-users-from-user-group-tests

Merge branch 'v18/QA/manage-users-from-user-group-tests' of https://g…

97f07f8
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Code Health Review (main) failed May 29, 2026 in 35s

CodeScene PR Check

Quality Gate Failed

Gates Failed
Enforce advisory code health rules (1 file with Code Duplication)

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce advisory code health rules Violations Code Health Impact
ManageUsersFromGroup.spec.ts 1 advisory rule 9.39 Suppress

Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

Details

🚩 Declining Code Health (highest to lowest):

  • Code Duplication ManageUsersFromGroup.spec.ts

Annotations

Check warning on line 96 in tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Users/ManageUsersFromGroup.spec.ts

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (main)

❌ New issue: Code Duplication

The module contains 5 functions with similar structure: 'can add a new user via the picker without removing existing users','can add and then remove the same user in the same session','can add multiple users to an existing user group at once','can remove all users from a user group' and 1 more functions. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.