mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(editor): Use website as the main templates repository (#8591)
This commit is contained in:
committed by
GitHub
parent
5ab34fe335
commit
79b09fdf84
@@ -25,8 +25,8 @@ export class TemplateWorkflowPage extends BasePage {
|
||||
user: { username: string };
|
||||
image: { id: number; url: string }[];
|
||||
};
|
||||
}) => {
|
||||
cy.intercept('GET', `https://api.n8n.io/api/templates/workflows/${template.workflow.id}`, {
|
||||
}, templateHost: string) => {
|
||||
cy.intercept('GET', `${templateHost}/api/templates/workflows/${template.workflow.id}`, {
|
||||
statusCode: 200,
|
||||
body: template,
|
||||
}).as('getTemplate');
|
||||
|
||||
Reference in New Issue
Block a user