feat: Create TOTP node (#5901)
* ✨ Create TOTP node * ♻️ Apply feedback * ♻️ Recreate `pnpm-lock.yaml` * ♻️ Apply Giulio's feedback * 🚧 WIP node tests * ✅ Finish node test setup * ⏪ Restore test command * ⚡ linter fixes, tweaks * ♻️ Address Michael's feedback --------- Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
41
packages/nodes-base/nodes/Totp/test/Totp.workflow.test.json
Normal file
41
packages/nodes-base/nodes/Totp/test/Totp.workflow.test.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "f2e03169-0e94-4a42-821b-3e8f67f449d7",
|
||||
"name": "When clicking \"Execute Workflow\"",
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [580, 320]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"additionalOptions": {}
|
||||
},
|
||||
"id": "831f657d-2724-4a25-bb94-cf37355654bb",
|
||||
"name": "TOTP",
|
||||
"type": "n8n-nodes-base.totp",
|
||||
"typeVersion": 1,
|
||||
"position": [800, 320],
|
||||
"credentials": {
|
||||
"totpApi": {
|
||||
"id": "1",
|
||||
"name": "TOTP account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"When clicking \"Execute Workflow\"": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "TOTP",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user