Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add E2E test which installs extension #869

Open
4 tasks
melink14 opened this issue Feb 22, 2022 · 3 comments
Open
4 tasks

Add E2E test which installs extension #869

melink14 opened this issue Feb 22, 2022 · 3 comments
Labels
enhancement testing Related to testing code

Comments

@melink14
Copy link
Owner

In order to catch problems like missing content scripts loading the extension in the browser would be good.

  • Pack extension as CRX (Stackoverflow)
  • Use browserstack to create remote browser with extension installed. (docs)
  • Check for errors
  • Added programmatic way to enable extension (Workaround)

Types of errors:

  • Missing context script listed in manifest
  • Turning on extension works. (test hover once?)
  • Options page doesn't load or has errors; (click one box?)
  • Background page has no errors.
@melink14 melink14 added enhancement testing Related to testing code labels Feb 22, 2022
@melink14
Copy link
Owner Author

https://github.com/thom4parisot/crx is a NPM module for packing CRX and is up to date.

@melink14
Copy link
Owner Author

I shouldn't need private key if I don't care about the extension ID.

@melink14
Copy link
Owner Author

chrome.exe's pack ability has some custom functionality (for example skipping dot files) so we may want to use that for increased coverage of problem types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement testing Related to testing code
Projects
None yet
Development

No branches or pull requests

1 participant