feat: Add assignment component with drag and drop to Set node (#8283)
Co-authored-by: Giulio Andreini <andreini@netseven.it>
This commit is contained in:
@@ -94,6 +94,20 @@ export class NDV extends BasePage {
|
||||
this.getters.filterComponent(paramName).getByTestId('filter-remove-condition').eq(index),
|
||||
filterConditionAdd: (paramName: string) =>
|
||||
this.getters.filterComponent(paramName).getByTestId('filter-add-condition'),
|
||||
assignmentCollection: (paramName: string) =>
|
||||
cy.getByTestId(`assignment-collection-${paramName}`),
|
||||
assignmentCollectionAdd: (paramName: string) =>
|
||||
this.getters.assignmentCollection(paramName).getByTestId('assignment-collection-drop-area'),
|
||||
assignment: (paramName: string, index = 0) =>
|
||||
this.getters.assignmentCollection(paramName).getByTestId('assignment').eq(index),
|
||||
assignmentRemove: (paramName: string, index = 0) =>
|
||||
this.getters.assignment(paramName, index).getByTestId('assignment-remove'),
|
||||
assignmentName: (paramName: string, index = 0) =>
|
||||
this.getters.assignment(paramName, index).getByTestId('assignment-name'),
|
||||
assignmentValue: (paramName: string, index = 0) =>
|
||||
this.getters.assignment(paramName, index).getByTestId('assignment-value'),
|
||||
assignmentType: (paramName: string, index = 0) =>
|
||||
this.getters.assignment(paramName, index).getByTestId('assignment-type-select'),
|
||||
searchInput: () => cy.getByTestId('ndv-search'),
|
||||
pagination: () => cy.getByTestId('ndv-data-pagination'),
|
||||
nodeVersion: () => cy.getByTestId('node-version'),
|
||||
@@ -235,6 +249,9 @@ export class NDV extends BasePage {
|
||||
removeFilterCondition: (paramName: string, index: number) => {
|
||||
this.getters.filterConditionRemove(paramName, index).click();
|
||||
},
|
||||
removeAssignment: (paramName: string, index: number) => {
|
||||
this.getters.assignmentRemove(paramName, index).click();
|
||||
},
|
||||
setInvalidExpression: ({
|
||||
fieldName,
|
||||
invalidExpression,
|
||||
|
||||
Reference in New Issue
Block a user