test: Enable Canvas V2 E2E Testing (#11321)

Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
oleg
2024-10-21 15:13:09 +02:00
committed by GitHub
parent c0b5b92f62
commit de04c93f2c
21 changed files with 356 additions and 161 deletions

View File

@@ -3,3 +3,7 @@ import { nanoid } from 'nanoid';
export function getUniqueWorkflowName(workflowNamePrefix?: string) {
return workflowNamePrefix ? `${workflowNamePrefix} ${nanoid(12)}` : nanoid(12);
}
export function isCanvasV2() {
return Cypress.env('NODE_VIEW_VERSION') === 2;
}