mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-28 15:27:03 +02:00
fix: Flaky E2E test for the RLC (no-changelog) (#20366)
This commit is contained in:
parent
e23bcfd63a
commit
25033dfaed
|
|
@ -1013,7 +1013,7 @@ export class NodeDetailsViewPage extends BasePage {
|
|||
await this.activateParameterExpressionEditor(fieldName);
|
||||
const editor = this.getInlineExpressionEditorInput(fieldName);
|
||||
await editor.click();
|
||||
await this.page.keyboard.type(invalidExpression ?? '{{ invalid_expression');
|
||||
await this.page.keyboard.type(invalidExpression ?? '{{ =()');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -107,8 +107,7 @@ test.describe('Resource Locator', () => {
|
|||
});
|
||||
|
||||
// unlike RMC and remote options, RLC does not support loadOptionDependsOn
|
||||
// NODE-3720
|
||||
test.skip('should retrieve list options when other params throw errors', async ({ n8n }) => {
|
||||
test('should retrieve list options when other params throw errors', async ({ n8n }) => {
|
||||
await n8n.canvas.addNode(E2E_TEST_NODE_NAME, { closeNDV: false, action: 'Resource Locator' });
|
||||
|
||||
await n8n.ndv.getResourceLocatorInput('rlc').click();
|
||||
|
|
@ -122,6 +121,9 @@ test.describe('Resource Locator', () => {
|
|||
|
||||
await n8n.ndv.getInputPanel().click(); // remove focus from input, hide expression preview
|
||||
|
||||
// wait for the expression to be evaluated and show the error
|
||||
await expect(n8n.ndv.getParameterInputHint()).toContainText('ERROR');
|
||||
|
||||
await n8n.ndv.getResourceLocatorInput('rlc').click();
|
||||
|
||||
await expect(n8n.page.getByTestId('rlc-item').first()).toBeVisible();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user