mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix deletion of last execution at execution preview (#7883)
https://linear.app/n8n/issue/PAY-1062
This commit is contained in:
@@ -14,6 +14,7 @@ export class WorkflowExecutionsTab extends BasePage {
|
||||
failedExecutionListItems: () => cy.get('[data-test-execution-status="error"]'),
|
||||
executionCard: (executionId: string) => cy.getByTestId(`execution-details-${executionId}`),
|
||||
executionPreviewDetails: () => cy.get('[data-test-id^="execution-preview-details-"]'),
|
||||
executionPreviewDeleteButton: () => cy.get('[data-test-id="execution-preview-delete-button"]'),
|
||||
executionPreviewDetailsById: (executionId: string) =>
|
||||
cy.getByTestId(`execution-preview-details-${executionId}`),
|
||||
executionPreviewTime: () =>
|
||||
@@ -42,5 +43,9 @@ export class WorkflowExecutionsTab extends BasePage {
|
||||
switchToEditorTab: () => {
|
||||
workflowPage.getters.editorTabButton().click();
|
||||
},
|
||||
deleteExecutionInPreview: () => {
|
||||
this.getters.executionPreviewDeleteButton().click();
|
||||
cy.get('button.btn--confirm').click();
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user