mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat: Github star button in-app (#11695)
This commit is contained in:
@@ -23,6 +23,7 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should create multiple new workflows using add workflow button', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
[...Array(multipleWorkflowsCount).keys()].forEach(() => {
|
||||
cy.visit(WorkflowsPage.url);
|
||||
WorkflowsPage.getters.createWorkflowButton().click();
|
||||
@@ -35,6 +36,7 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should search for a workflow', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
// One Result
|
||||
WorkflowsPage.getters.searchBar().type('Empty State Card Workflow');
|
||||
WorkflowsPage.getters.workflowCards().should('have.length', 1);
|
||||
@@ -60,6 +62,7 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should delete all the workflows', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
WorkflowsPage.getters.workflowCards().should('have.length', multipleWorkflowsCount + 1);
|
||||
|
||||
WorkflowsPage.getters.workflowCards().each(($el) => {
|
||||
@@ -75,6 +78,7 @@ describe('Workflows', () => {
|
||||
});
|
||||
|
||||
it('should respect tag querystring filter when listing workflows', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
WorkflowsPage.getters.newWorkflowButtonCard().click();
|
||||
|
||||
cy.createFixtureWorkflow('Test_workflow_2.json', getUniqueWorkflowName('My New Workflow'));
|
||||
|
||||
@@ -53,6 +53,7 @@ describe('Workflow tags', () => {
|
||||
});
|
||||
|
||||
it('should detach a tag inline by clicking on X on tag pill', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
wf.getters.createTagButton().click();
|
||||
wf.actions.addTags(TEST_TAGS);
|
||||
wf.getters.nthTagPill(1).click();
|
||||
@@ -73,6 +74,7 @@ describe('Workflow tags', () => {
|
||||
});
|
||||
|
||||
it('should not show non existing tag as a selectable option', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
const NON_EXISTING_TAG = 'My Test Tag';
|
||||
|
||||
wf.getters.createTagButton().click();
|
||||
|
||||
@@ -514,6 +514,7 @@ describe('Execution', () => {
|
||||
});
|
||||
|
||||
it('should send proper payload for node rerun', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.createFixtureWorkflow('Multiple_trigger_node_rerun.json', 'Multiple trigger node rerun');
|
||||
|
||||
workflowPage.getters.zoomToFitButton().click();
|
||||
|
||||
@@ -101,6 +101,7 @@ describe('Workflow Executions', () => {
|
||||
});
|
||||
|
||||
it('should show workflow data in executions tab after hard reload and modify name and tags', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
executionsTab.actions.switchToExecutionsTab();
|
||||
checkMainHeaderELements();
|
||||
workflowPage.getters.saveButton().find('button').should('not.exist');
|
||||
|
||||
@@ -182,6 +182,7 @@ describe('Template credentials setup', () => {
|
||||
});
|
||||
|
||||
it('should fill credentials from workflow editor', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
templateCredentialsSetupPage.visitTemplateCredentialSetupPage(testTemplate.id);
|
||||
templateCredentialsSetupPage.getters.skipLink().click();
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ describe('AI Assistant::enabled', () => {
|
||||
});
|
||||
|
||||
it('renders placeholder UI', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
aiAssistant.getters.askAssistantFloatingButton().should('be.visible');
|
||||
aiAssistant.getters.askAssistantFloatingButton().click();
|
||||
aiAssistant.getters.askAssistantChat().should('be.visible');
|
||||
|
||||
@@ -66,6 +66,7 @@ describe('NDV', () => {
|
||||
});
|
||||
|
||||
it('should disconect Switch outputs if rules order was changed', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.createFixtureWorkflow('NDV-test-switch_reorder.json', 'NDV test switch reorder');
|
||||
workflowPage.actions.zoomToFit();
|
||||
|
||||
@@ -232,6 +233,7 @@ describe('NDV', () => {
|
||||
ndv.getters.outputPanel().find('[class*=_pagination]').should('exist');
|
||||
});
|
||||
it('should display large schema', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
cy.createFixtureWorkflow(
|
||||
'Test_workflow_schema_test_pinned_data.json',
|
||||
'NDV test schema view 2',
|
||||
@@ -718,6 +720,7 @@ describe('NDV', () => {
|
||||
});
|
||||
|
||||
it('Should open appropriate node creator after clicking on connection hint link', () => {
|
||||
cy.viewport(1920, 1080);
|
||||
const nodeCreator = new NodeCreator();
|
||||
const hintMapper = {
|
||||
Memory: 'AI Nodes',
|
||||
|
||||
Reference in New Issue
Block a user