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
Introduce acceptance tests #9
Comments
Let's give headless Chrome a try. Here's a good tutorial: https://developers.google.com/web/updates/2017/06/headless-karma-mocha-chai |
Loading extensions in Chrome Headless is not yet supported. Easiest way to test the extension might be to use Puppeteer, although we won't be able to run Chrome in headless mode. Though I usually prefer CircleCI when using a hosted CI service, TravisCI looks more straightforward to setup with Puppeteer. |
I think so, it's time to introduce automatic test (E2E test). Does @dideler have knowledge of test using Headless browser? So it seems that somehow hacks are necessary for both CircleCI and TravisCI. 🤔 |
Happy to take the lead on this! I've done automated UI testing with webdrivers such as Watir, Selenium, and Capybara Webkit, but I haven't used the official Chrome Headless yet. Though as mentioned in #9 (comment), it doesn't look like we'll be able to run headless and load the extension 😕 . I'll start putting something together this weekend. |
Thanks for taking the lead. And you have a very much experience in the Headless browser test! 👏 So, about Puppeter can't run the Chrome extension, It seems to be avoiding it using |
As a maintainer
I want to run UI tests before publishing the extension
In order to quickly detect breaking changes and avoid regressions
Scenarios:
Example of how some of the feature tests could look:
Are we missing scenarios for edge cases? E.g. videos with comments disabled
The text was updated successfully, but these errors were encountered: