Files
cypress/packages/extension
Zach Bloomquist 06ee0ca238 Fix erroneous socket connections to undefinedCHANGE_ME_PATH (#4799)
* only connect to socket if path has been replaced, fixes #4776

* upgrade sinon, do not instantiate sandbox

* add tests to ensure connect is not called when not in browser mode

* refactor once again to push connect to a separate module to make testable

* move initializing extension connection to init.js

- prevents situation where connect(…) is called when module is required
- simplifies handling automatic connection only when in the browser
without needing to modify globals


Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-07-29 05:55:24 -04:00
..

Extension

This is the Chrome Extension responsible for automating Chrome

Installing

The extension's dependencies can be installed with:

cd packages/extension
npm install

Developing

Watching

npm run watch

Building

npm run build

Testing

npm run test

Debugging

  1. Open Chrome
  2. Go into Extensions
  3. Check Developer Mode
  4. Click Load unpacked extension...
  5. Choose packages/extension/dist directory
  6. Click background page to debug background.js
  7. Click Reload (⌘R) to pull in changes to manifest.json