summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2025-09-02use built-in feed for integration testAndrew Dolgov
2025-05-29let's use gitlab rss feed in phpunit for nowAndrew Dolgov
2025-05-22switch selenium to servicesAndrew Dolgov
2025-05-22adjust timeouts againAndrew Dolgov
2025-05-22fix typoAndrew Dolgov
2025-05-22adjust timeoutsAndrew Dolgov
2025-05-22also add driver implicit wait for element searchAndrew Dolgov
2025-05-22try adding selenium page timeoutAndrew Dolgov
2024-12-16maybe fix integration tests failing by always initializing apitest fieldsAndrew Dolgov
2024-12-14Use native typing in more places and clean up 'FeedEnclosure' a bit.wn_
2024-11-04fix get_self_url() misbehaving in plugins/Andrew Dolgov
2024-09-15add another test for self url, split regex into two parts - one for plugins, ↵Andrew Dolgov
one for everything else
2024-09-14fix Config::get_self_url() invoked from plugin context, better deal with ↵Andrew Dolgov
multiple trailing slashes in URL, update phpunit image path
2024-04-20Move 'include/functions.php' require into Composer autoloader.wn_
Autoloader regenerated with 'composer dump-autoload --optimize'.
2023-12-30Update all UrlHelper::fetch() calls to use the associative array approach.wn_
The other approach (passing in individual params) was marked as deprecated a few years ago.
2023-12-29Perform validation of redirect URLs during the redirect process.wn_
Previously, validation was only done after all redirects and the final request had completed. This approach ensures all redirects are to URLs that pass extended validation.
2023-12-24Fix specifying auth type in UrlHelper::fetch(), add a test for 403 auth retry.wn_
2023-12-23Appease PHPStan in UrlHelperTestwn_
2023-12-23Add some tests for UrlHelper::fetch()wn_
2023-12-18sanitizer: add a test to make sure <figure> is intactChih-Hsuan Yen
Somehow with the old approach, `<figure>` is rearranged into `<head>`, and the latter is stripped by `Sanitizer::strip_harmful_tags()` (see [1]). The issue is fixed by [2]. Here I added a test for the regression. [1] https://community.tt-rss.org/t/unexpected-behavior-with-figure-tag/6244 [2] https://gitlab.tt-rss.org/tt-rss/tt-rss/-/commit/67012f9dac7de22615b72be93fa360f53fefe3ec
2023-12-02add some unittest options for xmlrunnerAndrew Dolgov
2023-12-02fix filenameAndrew Dolgov
2023-12-02enable unit test results for seleniumAndrew Dolgov
2023-12-02add sanitizer integration testAndrew Dolgov
2023-11-01add wait-for-element to selenium testAndrew Dolgov
2023-10-29add some more phpunit api testsAndrew Dolgov
2023-10-29fix apitestAndrew Dolgov
2023-10-29fix circular dependencyAndrew Dolgov
2023-10-29add phpunit integration (wip)Andrew Dolgov
2023-10-28add stuff necessary to run integration tests using phpunitAndrew Dolgov
2023-10-28add always-failing mock of api testAndrew Dolgov
2023-10-28use python unittest for selenium testsAndrew Dolgov
2023-10-27unify test class namingAndrew Dolgov
2023-10-27replace some dirname horrors with a separate unit-tested methodAndrew Dolgov
2023-10-24add a workaround for make_self_url() when invoked off /api/ endpoint, add ↵Andrew Dolgov
unit tests for this method
2023-10-22make sure we fail properlyAndrew Dolgov
2023-10-22add configurable nsAndrew Dolgov
2023-10-22un-mock test, use SELENIUM_IMAGEAndrew Dolgov
2023-10-22use CI_COMMIT_SHORT_SHA for selenium test mockAndrew Dolgov
2023-10-22update test filenameAndrew Dolgov
2023-10-22add selenium mockAndrew Dolgov
2022-03-22tests: add stub autoloader, add a few more rewrite_relative testsAndrew Dolgov
2022-03-22 * add phpunit as a dev dependencyAndrew Dolgov
* add some basic tests for UrlHelper::rewrite_relative() * fix UrlHelper::rewrite_relative() to work better on non-absolute relative URL paths
2019-12-08remove a bunch of obsolete filesAndrew Dolgov
2018-12-02remove selenium stuffAndrew Dolgov
2018-12-01move some more shared stuff to CommonDialogs, Filters, and UtilsAndrew Dolgov
2018-12-01js-ification: start on some common dialogsAndrew Dolgov
2018-11-30combined mode (and more) css class name updatesAndrew Dolgov
2017-05-04move label stuff to Labels classAndrew Dolgov
fix some unresolved functions
2017-04-27add api test for labels, api: fix setArticleLabel assign not handled correctlyAndrew Dolgov