Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Dolgov
0a6b41a3df let's use gitlab rss feed in phpunit for now 2025-05-29 07:48:45 +03:00
Andrew Dolgov
0a3bec7201 switch selenium to services 2025-05-22 14:44:54 +03:00
Andrew Dolgov
9c66b9b326 adjust timeouts again 2025-05-22 12:42:41 +03:00
Andrew Dolgov
80647fa4e8 fix typo 2025-05-22 12:40:23 +03:00
Andrew Dolgov
cb6fe8f974 adjust timeouts 2025-05-22 12:36:20 +03:00
Andrew Dolgov
99caba74a9 also add driver implicit wait for element search 2025-05-22 11:48:40 +03:00
Andrew Dolgov
33047a86ba try adding selenium page timeout 2025-05-22 11:45:08 +03:00
Andrew Dolgov
eb47047351 maybe fix integration tests failing by always initializing apitest fields 2024-12-16 09:34:14 +03:00
wn_
a1bd6cea1b Use native typing in more places and clean up 'FeedEnclosure' a bit. 2024-12-14 12:26:59 +00:00
Chih-Hsuan Yen
f1a9ac9b15 sanitizer: add a test to make sure <figure> is intact
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] 67012f9dac
2023-12-18 22:46:35 +08:00
Andrew Dolgov
2b8e344532 add some unittest options for xmlrunner 2023-12-02 12:48:54 +03:00
Andrew Dolgov
e453befab6 fix filename 2023-12-02 12:47:36 +03:00
Andrew Dolgov
dbb6e7291e enable unit test results for selenium 2023-12-02 12:44:21 +03:00
Andrew Dolgov
e52eaf0e7b add sanitizer integration test 2023-12-02 11:14:07 +03:00
Andrew Dolgov
0b7d021f8e add wait-for-element to selenium test 2023-11-01 13:40:35 +03:00
Andrew Dolgov
1be156408a add some more phpunit api tests 2023-10-29 10:46:01 +03:00
Andrew Dolgov
7cd2c5cac8 fix apitest 2023-10-29 09:42:53 +03:00
Andrew Dolgov
adf3985afa fix circular dependency 2023-10-29 09:25:01 +03:00
Andrew Dolgov
8b72d9ab11 add phpunit integration (wip) 2023-10-29 09:14:18 +03:00
Andrew Dolgov
855695a862 add stuff necessary to run integration tests using phpunit 2023-10-28 18:45:09 +03:00
Andrew Dolgov
d2424b9e4b use python unittest for selenium tests 2023-10-28 11:11:13 +03:00
Andrew Dolgov
efd5d79dde make sure we fail properly 2023-10-22 13:51:24 +03:00
Andrew Dolgov
db05575b2d add configurable ns 2023-10-22 13:42:41 +03:00
Andrew Dolgov
ce3eb32076 un-mock test, use SELENIUM_IMAGE 2023-10-22 13:35:01 +03:00