diff --git a/cypress-tests/cypress/e2e/useSession.cy.ts b/cypress-tests/cypress/e2e/useSession.cy.ts index b1efaca352..0c474fc3ae 100644 --- a/cypress-tests/cypress/e2e/useSession.cy.ts +++ b/cypress-tests/cypress/e2e/useSession.cy.ts @@ -1,6 +1,7 @@ import { TIMEOUTS } from "../../config"; import { generatorProjectName } from "../support/commands/projects"; import { validateLogin } from "../support/commands/general"; +import { v4 as uuidv4 } from "uuid"; const username = Cypress.env("TEST_USERNAME"); @@ -8,9 +9,10 @@ const projectTestConfig = { shouldCreateProject: true, projectName: generatorProjectName("useSession"), }; +const workflowNameSalt = uuidv4().substring(0, 4); const workflow = { - name: "dummyworkflow", - output: "o.txt", // ? Keep the name short or it won't show up entirely in the file browser + name: `dummyworkflow-${workflowNameSalt}`, + output: `o${workflowNameSalt}.txt`, // ? Keep the name short or it won't show up entirely in the file browser }; // ? Modify the config -- useful for debugging