diff --git a/cypress/plugins/tasks.js b/cypress/plugins/tasks.js index 0747f15004..a9cf17199c 100644 --- a/cypress/plugins/tasks.js +++ b/cypress/plugins/tasks.js @@ -77,7 +77,10 @@ const sqlTask = on => { }, dropAndSeedDatabase: async () => { const exec = util.promisify(childProcess.exec) - await Promise.all([exec('tools/bin/mage dev:sqlRestore', { cwd: '..' })]) + await Promise.all([ + exec('tools/bin/mage dev:sqlRestore', { cwd: '..' }), + exec('tools/bin/mage dev:redisFlush', { cwd: '..' }), + ]) return null }, })