cypress-io / cypress-example-recipes

Various recipes for testing common scenarios with Cypress

Home Page:https://on.cypress.io/examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--load-extension and example not working

alycda opened this issue · comments

Following this article: https://www.cypress.io/blog/2020/01/07/how-to-load-the-react-devtools-extension-in-cypress/#load-the-extension

launchOptions.args.push(`--load-extension=${extensionFolder}`)

I see the extension correctly added to the launch options (found in chrome://version) but the extension is not loaded.

I checked the updated example and it's incorrect: https://github.com/cypress-io/cypress-example-recipes/blob/master/examples/blogs__use-react-devtools/cypress/plugins/index.js#L16

launchOptions.args.push(extensionFolder)

for reference, I'm trying to automatically load the Redux Devtools Extension (lmhkpmbekcpmknklioeibfkpmmfibljd, 3.0.5_0)