summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2021-12-15facilitate mocking imported valuesWojtek Kosior
2021-12-14facilitate broadcasting messages to different execution contexts within the ↵Wojtek Kosior
webextension
2021-12-13facilitate creating and installing WebExtensions during testsWojtek Kosior
It is now possible to more conveniently test WebExtension APIs code by wrapping it into a test WebExtension and temporarily installing in the driven browser.
2021-12-13enable in-line command editing in the Python prompt shown as part of `make ↵Wojtek Kosior
test-environment`
2021-12-10improve IndexedDB useWojtek Kosior
2021-12-08facilitate initialization of IndexedDB for use by HaketiloWojtek Kosior
2021-12-04finish implementing more efficient querying of URL patternsWojtek Kosior
The algorithm is implemented and tested. However, it is yet to be hooked into the actual extension.
2021-12-03start implementing more efficient querying of URL patternsWojtek Kosior
2021-12-01improve unit testing approachWojtek Kosior
Unit tests were moved to their own subdirectory. Fixtures common to many unit tests were moved to test/unit/conftest.py. A facility to execute scripts in page's global scope was added. A workaround was employed to present information about errors in injected scripts. Sample unit tests for regexes in common/patterns.js were added.
2021-12-01facilitate testing javascript functionsWojtek Kosior
Haketilo's .js files can now be loaded together with their dependencies and executed on a page opened in a selenium-driven Firefox instance.
2021-11-27add Selenium- and Python-based test systemWojtek Kosior