This is an example showing how to add Flow support for Cypress using Browserify.
Whether you use Flow in your test files or just in the source files you need to preprocess them before running the tests so Cypress runs plain JavaScript.
It uses browserify to preprocess Flow files via @cypress/browserify-preprocessor and @babel/preset-flow to transpile those files.
npm install --save-dev @cypress/browserify-preprocessor @babel/preset-flow
See: