Open Closed

Integration Test for Navigation Menu System Based on User Permissions with PermissionManagement #8651


User avatar
0
htavukcu created
  • ABP Framework version: v8.3.1
  • UI Type: Custom
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi,

We are writing an integration test that tests user permissions for the navigation menu system in our application. What we want to do is test whether the correct menu structure is calculated by changing the user permissions. How can we prepare such a test using PermissionManagement? Is there an example for this?

Note: We are using our own UI system. Thanks.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    We have no such example, you can consider using selenium for UI test https://github.com/SeleniumHQ/selenium https://www.selenium.dev/ https://www.browserstack.com/guide/selenium-with-c-sharp-for-automated-test

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.