mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
test: Add e2e tests for workflow/credential migrations when enabling UM (#4719)
* add tests * ci: Setup cypress tasks for resetting DB, and setting up an owner * add test tests to check for settings * add more tests * clean up * rename tag * update test id Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
15
cypress/pages/sidebar/main-sidebar.ts
Normal file
15
cypress/pages/sidebar/main-sidebar.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { BasePage } from "../base";
|
||||
|
||||
export class MainSidebar extends BasePage {
|
||||
getters = {
|
||||
settings: () => cy.getByTestId('menu-item-settings', { timeout: 5000 }),
|
||||
templates: () => cy.getByTestId('menu-item-templates'),
|
||||
workflows: () => cy.getByTestId('menu-item-workflows'),
|
||||
credentials: () => cy.getByTestId('menu-item-credentials'),
|
||||
executions: () => cy.getByTestId('menu-item-executions'),
|
||||
};
|
||||
actions = {
|
||||
goToSettings: () => this.getters.settings().click(),
|
||||
goToCredentials: () => this.getters.credentials().click(),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user