mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: fix 15-scheduler-node e2e suite
This commit is contained in:
parent
ee53c81eff
commit
8c8f75e115
|
@ -258,7 +258,7 @@ describe('Data mapping', () => {
|
||||||
.should('have.value', "input[0]['hello.world']['my count']");
|
.should('have.value', "input[0]['hello.world']['my count']");
|
||||||
});
|
});
|
||||||
|
|
||||||
it.only('maps expressions to updated fields correctly', () => {
|
it('maps expressions to updated fields correctly', () => {
|
||||||
cy.fixture('Test_workflow_3.json').then((data) => {
|
cy.fixture('Test_workflow_3.json').then((data) => {
|
||||||
cy.get('body').paste(JSON.stringify(data));
|
cy.get('body').paste(JSON.stringify(data));
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import { WorkflowPage, WorkflowsPage, NDV } from '../pages';
|
import { WorkflowPage, WorkflowsPage, NDV } from '../pages';
|
||||||
import { BACKEND_BASE_URL } from '../constants';
|
import { BACKEND_BASE_URL } from '../constants';
|
||||||
|
import { getVisibleSelect } from '../utils';
|
||||||
|
|
||||||
const workflowsPage = new WorkflowsPage();
|
const workflowsPage = new WorkflowsPage();
|
||||||
const workflowPage = new WorkflowPage();
|
const workflowPage = new WorkflowPage();
|
||||||
|
@ -24,11 +25,7 @@ describe('Schedule Trigger node', async () => {
|
||||||
workflowPage.actions.openNode('Schedule Trigger');
|
workflowPage.actions.openNode('Schedule Trigger');
|
||||||
|
|
||||||
cy.getByTestId('parameter-input-field').click();
|
cy.getByTestId('parameter-input-field').click();
|
||||||
cy.getByTestId('parameter-input-field')
|
getVisibleSelect().find('.option-headline').contains('Seconds').click();
|
||||||
.find('.el-select-dropdown')
|
|
||||||
.find('.option-headline')
|
|
||||||
.contains('Seconds')
|
|
||||||
.click();
|
|
||||||
cy.getByTestId('parameter-input-secondsInterval').clear().type('1');
|
cy.getByTestId('parameter-input-secondsInterval').clear().type('1');
|
||||||
|
|
||||||
ndv.getters.backToCanvas().click();
|
ndv.getters.backToCanvas().click();
|
||||||
|
|
Loading…
Reference in a new issue