owncast/test/automated/api
Meisam a7080a1fc1
validate response of federation APIs (#2408)
* validate json responses

* update deps

* tmp disable header check

* log all the webfinger fails

refactor and filter more malformed requests

* don't set incorrect serverURL strings

* test failing through admin api

* fix server url in fedi tests

* check response.text

* validate json/xml response of all apis

test Content-Type of api response and cleanup

* improve logs

* fix rebase

* cleanup json parser in api tests

* mark the api tests performed by admin

* Separate check for reading and format of serverURL

* test /federation/user/ with wrong username in ci
2022-12-10 21:10:10 -08:00
..
lib validate response of federation APIs (#2408) 2022-12-10 21:10:10 -08:00
schema validate Nodeinfo response by schema (#2390) 2022-11-29 16:05:44 -08:00
admin.test.js use lib/admin.js functions in api tests (#2419) 2022-12-08 13:46:57 -08:00
chat.test.js use lib/admin.js functions in api tests (#2419) 2022-12-08 13:46:57 -08:00
chatmoderation.test.js use lib/admin.js functions in api tests (#2419) 2022-12-08 13:46:57 -08:00
chatusers.test.js validate response of federation APIs (#2408) 2022-12-10 21:10:10 -08:00
configmanagement.test.js validate response of federation APIs (#2408) 2022-12-10 21:10:10 -08:00
federation.test.js validate response of federation APIs (#2408) 2022-12-10 21:10:10 -08:00
index.test.js Automated browser testing (#1415) 2021-09-17 14:04:09 -07:00
integrations.test.js use lib/admin.js functions in api tests (#2419) 2022-12-08 13:46:57 -08:00
package-lock.json validate response of federation APIs (#2408) 2022-12-10 21:10:10 -08:00
package.json validate response of federation APIs (#2408) 2022-12-10 21:10:10 -08:00
publicstatic.test.js Add support for public static files. Closes #2234 2022-10-27 22:30:39 -07:00
run.sh validate Nodeinfo response by schema (#2390) 2022-11-29 16:05:44 -08:00