mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
23 lines
536 B
TypeScript
23 lines
536 B
TypeScript
const url = '/settings';
|
|
|
|
// Migrated to Playwright
|
|
// eslint-disable-next-line n8n-local-rules/no-skipped-tests
|
|
describe.skip('Admin user', { disableAutoLogin: true }, () => {
|
|
it('should see same Settings sub menu items as instance owner', () => {
|
|
cy.signinAsOwner();
|
|
cy.visit(url);
|
|
|
|
let ownerMenuItems = 0;
|
|
|
|
cy.getByTestId('menu-item').then(($el) => {
|
|
ownerMenuItems = $el.length;
|
|
});
|
|
|
|
cy.signout();
|
|
cy.signinAsAdmin();
|
|
cy.visit(url);
|
|
|
|
cy.getByTestId('menu-item').should('have.length', ownerMenuItems);
|
|
});
|
|
});
|