mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
fix(Notion Node): Rename Notion API Key to Internal Integration Token (#7176)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -39,7 +39,7 @@ describe('Sharing', { disableAutoLogin: true }, () => {
|
|||||||
credentialsPage.getters.emptyListCreateCredentialButton().click();
|
credentialsPage.getters.emptyListCreateCredentialButton().click();
|
||||||
credentialsModal.getters.newCredentialTypeOption('Notion API').click();
|
credentialsModal.getters.newCredentialTypeOption('Notion API').click();
|
||||||
credentialsModal.getters.newCredentialTypeButton().click();
|
credentialsModal.getters.newCredentialTypeButton().click();
|
||||||
credentialsModal.getters.connectionParameter('API Key').type('1234567890');
|
credentialsModal.getters.connectionParameter('Internal Integration Secret').type('1234567890');
|
||||||
credentialsModal.actions.setName('Credential C1');
|
credentialsModal.actions.setName('Credential C1');
|
||||||
credentialsModal.actions.save();
|
credentialsModal.actions.save();
|
||||||
credentialsModal.actions.close();
|
credentialsModal.actions.close();
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
import {
|
import {
|
||||||
|
GMAIL_NODE_NAME,
|
||||||
|
HTTP_REQUEST_NODE_NAME,
|
||||||
|
NEW_GOOGLE_ACCOUNT_NAME,
|
||||||
NEW_NOTION_ACCOUNT_NAME,
|
NEW_NOTION_ACCOUNT_NAME,
|
||||||
|
NEW_QUERY_AUTH_ACCOUNT_NAME,
|
||||||
|
NEW_TRELLO_ACCOUNT_NAME,
|
||||||
NOTION_NODE_NAME,
|
NOTION_NODE_NAME,
|
||||||
PIPEDRIVE_NODE_NAME,
|
PIPEDRIVE_NODE_NAME,
|
||||||
HTTP_REQUEST_NODE_NAME,
|
|
||||||
NEW_QUERY_AUTH_ACCOUNT_NAME,
|
|
||||||
GMAIL_NODE_NAME,
|
|
||||||
NEW_GOOGLE_ACCOUNT_NAME,
|
|
||||||
NEW_TRELLO_ACCOUNT_NAME,
|
|
||||||
SCHEDULE_TRIGGER_NODE_NAME,
|
SCHEDULE_TRIGGER_NODE_NAME,
|
||||||
TRELLO_NODE_NAME,
|
TRELLO_NODE_NAME,
|
||||||
} from '../constants';
|
} from '../constants';
|
||||||
import { CredentialsPage, CredentialsModal, WorkflowPage, NDV } from '../pages';
|
import { CredentialsModal, CredentialsPage, NDV, WorkflowPage } from '../pages';
|
||||||
import { getVisibleSelect } from '../utils';
|
import { getVisibleSelect } from '../utils';
|
||||||
|
|
||||||
const credentialsPage = new CredentialsPage();
|
const credentialsPage = new CredentialsPage();
|
||||||
@@ -33,7 +33,7 @@ describe('Credentials', () => {
|
|||||||
credentialsModal.getters.newCredentialTypeOption('Notion API').click();
|
credentialsModal.getters.newCredentialTypeOption('Notion API').click();
|
||||||
|
|
||||||
credentialsModal.getters.newCredentialTypeButton().click();
|
credentialsModal.getters.newCredentialTypeButton().click();
|
||||||
credentialsModal.getters.connectionParameter('API Key').type('1234567890');
|
credentialsModal.getters.connectionParameter('Internal Integration Secret').type('1234567890');
|
||||||
|
|
||||||
credentialsModal.actions.setName('My awesome Notion account');
|
credentialsModal.actions.setName('My awesome Notion account');
|
||||||
credentialsModal.actions.save();
|
credentialsModal.actions.save();
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export class NotionApi implements ICredentialType {
|
|||||||
|
|
||||||
properties: INodeProperties[] = [
|
properties: INodeProperties[] = [
|
||||||
{
|
{
|
||||||
displayName: 'API Key',
|
displayName: 'Internal Integration Secret',
|
||||||
name: 'apiKey',
|
name: 'apiKey',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
typeOptions: { password: true },
|
typeOptions: { password: true },
|
||||||
|
|||||||
Reference in New Issue
Block a user