diff --git a/cypress/cypress.config.js b/cypress/cypress.config.js index 7f5f8b868..b6068a8b3 100644 --- a/cypress/cypress.config.js +++ b/cypress/cypress.config.js @@ -27,7 +27,7 @@ async function setupNodeEvents(on, config) { }) ); - /* on('task', { + on('task', { pushValue({ name, value }) { testStore[name] = value return true @@ -36,7 +36,7 @@ async function setupNodeEvents(on, config) { console.log('getValue',name,testStore) return testStore[name] }, - }); */ + }); return config; }