mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix RLC not loading when an expression can't resolve (#7295)
Also fixes label (list -> From list) Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -7,6 +7,7 @@ const credentialsModal = new CredentialsModal();
|
||||
|
||||
const NO_CREDENTIALS_MESSAGE = 'Please add your credential';
|
||||
const INVALID_CREDENTIALS_MESSAGE = 'Please check your credential';
|
||||
const MODE_SELECTOR_LIST = 'From list';
|
||||
|
||||
describe('Resource Locator', () => {
|
||||
beforeEach(() => {
|
||||
@@ -18,6 +19,14 @@ describe('Resource Locator', () => {
|
||||
workflowPage.actions.addNodeToCanvas('Google Sheets', true, true);
|
||||
ndv.getters.resourceLocator('documentId').should('be.visible');
|
||||
ndv.getters.resourceLocator('sheetName').should('be.visible');
|
||||
ndv.getters
|
||||
.resourceLocatorModeSelector('documentId')
|
||||
.find('input')
|
||||
.should('have.value', MODE_SELECTOR_LIST);
|
||||
ndv.getters
|
||||
.resourceLocatorModeSelector('sheetName')
|
||||
.find('input')
|
||||
.should('have.value', MODE_SELECTOR_LIST);
|
||||
});
|
||||
|
||||
it('should show appropriate error when credentials are not set', () => {
|
||||
|
||||
Reference in New Issue
Block a user