first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled

This commit is contained in:
2026-03-17 16:22:57 +03:30
commit 3d5eaf9445
15349 changed files with 2847338 additions and 0 deletions
@@ -0,0 +1,26 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
describe('Test SlackV2, user => updateProfile', () => {
nock('https://slack.com')
.post('/api/users.profile.set', {
profile: {
customFieldUi: {
customFieldValues: [{ alt: '', id: 'Xf05SGHVUDKM', value: 'TEST title' }],
},
email: 'some@email.com',
fields: { Xf05SGHVUDKM: { alt: '', value: 'TEST title' } },
first_name: 'first',
last_name: 'last',
status_emoji: '👶',
status_expiration: 1734670800,
status_text: 'test status',
},
user: 'id-new',
})
.reply(200, { profile: { test: 'OK' } });
new NodeTestHarness().setupTests({
workflowFiles: ['updateProfile.workflow.json'],
});
});
@@ -0,0 +1,106 @@
{
"name": "slack new tests",
"nodes": [
{
"parameters": {},
"id": "e679c883-1839-47dc-9511-8f7dc370e6b0",
"name": "When clicking Execute workflow",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [820, 360]
},
{
"parameters": {
"resource": "user",
"operation": "updateProfile",
"options": {
"customFieldUi": {
"customFieldValues": [
{
"id": "Xf05SGHVUDKM",
"value": "TEST title"
}
]
},
"email": "some@email.com",
"first_name": "first",
"last_name": "last",
"status": {
"set_status": [
{
"status_emoji": "👶",
"status_expiration": "2024-12-20T00:00:00",
"status_text": "test status"
}
]
},
"user": "id-new"
}
},
"id": "2e1937a6-4c8f-4cd1-ae42-11b2bd12cc4c",
"name": "Slack",
"type": "n8n-nodes-base.slack",
"typeVersion": 2.3,
"position": [1040, 360],
"webhookId": "04c5e584-45f4-48d0-bcd2-0ecacecb0f53",
"credentials": {
"slackApi": {
"id": "Bg0bWXf8apAimCqJ",
"name": "Slack account 2"
}
}
},
{
"parameters": {},
"id": "06652908-6b8e-443a-9508-ab229b011b73",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [1260, 360]
}
],
"pinData": {
"No Operation, do nothing": [
{
"json": {
"test": "OK"
}
}
]
},
"connections": {
"When clicking Execute workflow": {
"main": [
[
{
"node": "Slack",
"type": "main",
"index": 0
}
]
]
},
"Slack": {
"main": [
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "297af4ef-eca5-493d-8a1f-c735fcb805f2",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "be251a83c052a9862eeac953816fbb1464f89dfbf79d7ac490a8e336a8cc8bfd"
},
"id": "qJdEfiBgYLdfYOTs",
"tags": []
}