diff --git a/cypress/e2e/17-sharing.cy.ts b/cypress/e2e/17-sharing.cy.ts index acd61b05db51f..40454dde3fc51 100644 --- a/cypress/e2e/17-sharing.cy.ts +++ b/cypress/e2e/17-sharing.cy.ts @@ -39,7 +39,7 @@ describe('Sharing', { disableAutoLogin: true }, () => { credentialsPage.getters.emptyListCreateCredentialButton().click(); credentialsModal.getters.newCredentialTypeOption('Notion API').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.save(); credentialsModal.actions.close(); diff --git a/cypress/e2e/2-credentials.cy.ts b/cypress/e2e/2-credentials.cy.ts index 78dbe055aa46f..c30225429d912 100644 --- a/cypress/e2e/2-credentials.cy.ts +++ b/cypress/e2e/2-credentials.cy.ts @@ -1,16 +1,16 @@ import { - NEW_NOTION_ACCOUNT_NAME, - NOTION_NODE_NAME, - PIPEDRIVE_NODE_NAME, - HTTP_REQUEST_NODE_NAME, - NEW_QUERY_AUTH_ACCOUNT_NAME, GMAIL_NODE_NAME, + HTTP_REQUEST_NODE_NAME, NEW_GOOGLE_ACCOUNT_NAME, + NEW_NOTION_ACCOUNT_NAME, + NEW_QUERY_AUTH_ACCOUNT_NAME, NEW_TRELLO_ACCOUNT_NAME, + NOTION_NODE_NAME, + PIPEDRIVE_NODE_NAME, SCHEDULE_TRIGGER_NODE_NAME, TRELLO_NODE_NAME, } from '../constants'; -import { CredentialsPage, CredentialsModal, WorkflowPage, NDV } from '../pages'; +import { CredentialsModal, CredentialsPage, NDV, WorkflowPage } from '../pages'; import { getVisibleSelect } from '../utils'; const credentialsPage = new CredentialsPage(); @@ -33,7 +33,7 @@ describe('Credentials', () => { credentialsModal.getters.newCredentialTypeOption('Notion API').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.save(); diff --git a/packages/nodes-base/credentials/NotionApi.credentials.ts b/packages/nodes-base/credentials/NotionApi.credentials.ts index c21db0040f8ce..4aa3e72003dac 100644 --- a/packages/nodes-base/credentials/NotionApi.credentials.ts +++ b/packages/nodes-base/credentials/NotionApi.credentials.ts @@ -15,7 +15,7 @@ export class NotionApi implements ICredentialType { properties: INodeProperties[] = [ { - displayName: 'API Key', + displayName: 'Internal Integration Secret', name: 'apiKey', type: 'string', typeOptions: { password: true },