From 18288efa1bba4819e4aaaf3abb5890929264ee3e Mon Sep 17 00:00:00 2001 From: mahula Date: Fri, 26 May 2023 10:47:35 +0200 Subject: [PATCH] wait for network to be idle in cypress tests --- cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 4c1355c82..5327a018e 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -51,7 +51,7 @@ Cypress.Commands.add( (graphQLClient, mutation, variables, response) => { return new Cypress.Promise(async (resolve, reject) => { const response = await graphQLClient.request(mutation, variables) - console.log('Cypress command mutate:', data) + console.log('Cypress command mutate:', response) graphQLClient.request(mutation, variables).then(() => resolve(graphQLClient)) })