[PR #32283] test: header account about, account setting and account dropdown #33649

Open
opened 2026-02-21 20:53:39 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/32283

State: open
Merged: No


Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

  • Tests
    • Expanded unit test coverage for header and account settings: dropdowns, about/support/compliance dialogs, workplace selector, integrations, API-based extension pages (list, item, modal, selector), collapse/menu dialogs, constants, and account setting flows.
    • Adds interaction, edge-case, plan/edition, success/failure, modal, and accessibility keyboard tests for rendering and behavior.

Report

folders Statements Branches Functions Lines
header/account-about 100% (5/5) 100% (11/11) 100% (2/2) 100% (4/4)
header/account-dropdown 100% (68/68) 100% (31/31) 100% (17/17) 100% (67/67)
header/account-dropdown/workplace-selector 100% (18/18) 100% (4/4) 100% (6/6) 100% (16/16)
header/account-setting 100% (58/58) 100% (41/41) 100% (17/17) 100% (56/56)
header/account-setting/Integrations-page 100% (10/10) 100% (6/6) 100% (2/2) 100% (10/10)
header/account-setting/api-based-extension-page 100% (75/75) 100% (45/45) 100% (28/28) 100% (72/72)
header/account-setting/collapse 100% (7/7) 100% (4/4) 100% (4/4) 100% (5/5)

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint and make type-check (backend) and cd web && npx lint-staged (frontend) to appease the lint gods

Fixes: #32357

**Original Pull Request:** https://github.com/langgenius/dify/pull/32283 **State:** open **Merged:** No --- > [!IMPORTANT] > > 1. Make sure you have read our [contribution guidelines](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) > 1. Ensure there is an associated issue and you have been assigned to it > 1. Use the correct syntax to link this PR: `Fixes #<issue number>`. ## Summary * **Tests** * Expanded unit test coverage for header and account settings: dropdowns, about/support/compliance dialogs, workplace selector, integrations, API-based extension pages (list, item, modal, selector), collapse/menu dialogs, constants, and account setting flows. * Adds interaction, edge-case, plan/edition, success/failure, modal, and accessibility keyboard tests for rendering and behavior. *Report* | folders | Statements | Branches | Functions | Lines | |---------------------------------------------------|------------|----------|-----------|--------| | header/account-about | 100% (5/5) | 100% (11/11) | 100% (2/2) | 100% (4/4) | | header/account-dropdown | 100% (68/68) | 100% (31/31) | 100% (17/17) | 100% (67/67) | | header/account-dropdown/workplace-selector | 100% (18/18) | 100% (4/4) | 100% (6/6) | 100% (16/16) | | header/account-setting | 100% (58/58) | 100% (41/41) | 100% (17/17) | 100% (56/56) | | header/account-setting/Integrations-page | 100% (10/10) | 100% (6/6) | 100% (2/2) | 100% (10/10) | | header/account-setting/api-based-extension-page | 100% (75/75) | 100% (45/45) | 100% (28/28) | 100% (72/72) | | header/account-setting/collapse | 100% (7/7) | 100% (4/4) | 100% (4/4) | 100% (5/5) | ## Screenshots | Before | After | |--------|-------| | ... | ... | ## Checklist - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `make lint` and `make type-check` (backend) and `cd web && npx lint-staged` (frontend) to appease the lint gods Fixes: [#32357](https://github.com/langgenius/dify/issues/32357)
yindo added the pull-request label 2026-02-21 20:53:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#33649