This PR adds E2E testing for adblockers: adblocker-puppeteer, adblocker-playwright, adblocker-electron, and adblocker-webextension. The motivation of adding E2E testing comes from the replace modifier support. I found that implementing an E2E test to adblocker library doesn't make sense because adblocker library itself doesn't represent or illustrates end-user environment.
The tests will end up same as unit tests. Note that not all of adblocker library is implemented due to some challenges:
Introduction
This PR adds E2E testing for adblockers:
adblocker-puppeteer
,adblocker-playwright
,adblocker-electron
, andadblocker-webextension
. The motivation of adding E2E testing comes from the replace modifier support. I found that implementing an E2E test to adblocker library doesn't make sense because adblocker library itself doesn't represent or illustrates end-user environment.The tests will end up same as unit tests. Note that not all of adblocker library is implemented due to some challenges:
adblocker-electron
adblocker-webextension This package itself doesn't represent the webextension. We'll need to prepare a complete adblocker implementation for this.
We may use
adblocker-webextension-example
but it's still at the open discussion.Approach