You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To ensure that the tests are decoupled from the framework code, it not only needs its own tests, but also its own way of executing those tests.
Unit tests are already set up, but any test that relies on web extension APIs requires testing using a real browser.
I dug around to find the most up to date best practices for testing web extensions using a real browser, and it seems that proper tooling that supports Web Extension developer workflows is still rare, and such tooling that supports Web Extension that uses Web Extension Experiments outside the Firefox source code tree is even rarer.
TLDR: Taken all of this into account, my intention is to make https://github.com/mozilla/shield-studies-addon-utils/tree/master/testUtils available outside of the study utils package and then set up Selenium-based tests for webext-instrumentation. I'll possibly evaluate puppeteer-firefox and try out theintern.io as well in order to see if the current best practices can be improved upon.
These tests should be decoupled from the framework tests.
The text was updated successfully, but these errors were encountered: