fix: fix 15-scheduler-node e2e suite

This commit is contained in:
Alex Grozav 2023-07-25 10:19:22 +03:00
parent ee53c81eff
commit 8c8f75e115
2 changed files with 3 additions and 6 deletions

View file

@ -258,7 +258,7 @@ describe('Data mapping', () => {
.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.get('body').paste(JSON.stringify(data));
});

View file

@ -1,5 +1,6 @@
import { WorkflowPage, WorkflowsPage, NDV } from '../pages';
import { BACKEND_BASE_URL } from '../constants';
import { getVisibleSelect } from '../utils';
const workflowsPage = new WorkflowsPage();
const workflowPage = new WorkflowPage();
@ -24,11 +25,7 @@ describe('Schedule Trigger node', async () => {
workflowPage.actions.openNode('Schedule Trigger');
cy.getByTestId('parameter-input-field').click();
cy.getByTestId('parameter-input-field')
.find('.el-select-dropdown')
.find('.option-headline')
.contains('Seconds')
.click();
getVisibleSelect().find('.option-headline').contains('Seconds').click();
cy.getByTestId('parameter-input-secondsInterval').clear().type('1');
ndv.getters.backToCanvas().click();