mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
16 lines
503 B
TypeScript
16 lines
503 B
TypeScript
import { test, expect } from '../../fixtures/base';
|
|
|
|
test.describe('Admin user', () => {
|
|
test('should see same Settings sub menu items as instance owner', async ({ n8n, api }) => {
|
|
await api.setupTest('signin-only', 'owner');
|
|
await n8n.settings.goToSettings();
|
|
|
|
const ownerMenuItems = await n8n.settings.getMenuItems().count();
|
|
|
|
await api.setupTest('signin-only', 'admin');
|
|
await n8n.settings.goToSettings();
|
|
|
|
await expect(n8n.settings.getMenuItems()).toHaveCount(ownerMenuItems);
|
|
});
|
|
});
|