mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
test: Add e2e for data transformation expressions (#5375)
* 🧪 Add e2e for data transormation expressions * ♻️ Apply feedback
This commit is contained in:
@@ -35,6 +35,8 @@ export class NDV extends BasePage {
|
||||
nodeRenameInput: () => cy.getByTestId('node-rename-input'),
|
||||
executePrevious: () => cy.getByTestId('execute-previous-node'),
|
||||
httpRequestNotice: () => cy.getByTestId('node-parameters-http-notice'),
|
||||
inlineExpressionEditorInput: () => cy.getByTestId('inline-expression-editor-input'),
|
||||
nthParam: (n: number) => cy.getByTestId('node-parameters').find('.parameter-item').eq(n),
|
||||
};
|
||||
|
||||
actions = {
|
||||
@@ -50,6 +52,10 @@ export class NDV extends BasePage {
|
||||
close: () => {
|
||||
this.getters.backToCanvas().click();
|
||||
},
|
||||
openInlineExpressionEditor: () => {
|
||||
cy.contains('Expression').invoke('show').click();
|
||||
this.getters.inlineExpressionEditorInput().click();
|
||||
},
|
||||
setPinnedData: (data: object) => {
|
||||
this.getters.editPinnedDataButton().click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user