I am trying to test a chrome extension with cypress and can successfully load the extension into cypress using the before:browser:launch
event.
This will successfully install the extension to the browser, but the extension does not run in the same context as the test runner iFrame and therefore cannot get information from the page within the test runner.
I have also tried to install an older plugin called cypress-browser-extension-plugin
to load the extension into cypress which does not seem to be working. Has anyone been successful loading an extension into the actual test runner of cypress without having to heavily modify the extension to be injected into the test runner?
I'm not sure how loading the extension into cypress the default way where it's installed on the browser but not running in the test runner iFrame is helpful for writing tests against the extension, ideally the extension would be running inside the test runner and able to interact with the page that cypress is currently testing right?