diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index d958ffb3d..b7b9409db 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -47,7 +47,7 @@ Cypress.Commands.add("init", () => { method: "POST", url: `${config.api}/graphql`, body: { - query: `mutation($userId: ID!, $teamId: ID!, $name: String!, $lang: String!) { + query: `mutation($userId: ID!, $teamId: ID!, $name: String!, $lang: String!, $secret: String) { deleteMe(input: { userId: $userId }) { userId } signup(input: { userId: $userId, teamId: $teamId, secret: $secret }) { user { id } } updateMe(input: { name: $name, lang: $lang }) { user { id, name, lang } }