test(integration): reorganize Hurl integration tests

This commit is contained in:
Matthieu Bessat 2025-06-14 15:09:26 +02:00
parent 368ff80ef3
commit 15020e9878
18 changed files with 154 additions and 10 deletions

View file

@ -0,0 +1,17 @@
# Asserts that registration is working
POST {{ base_url }}/register
[FormParams]
email: john.doe@example.org
handle: john.doe
password: mysupersecretpassword
HTTP 200
[Asserts]
xpath "string(///div[@class='alert alert-success'])" contains "account has been created"
# Asserts that login is possible with new user
POST {{ base_url }}/login
[FormParams]
login: john.doe
password: mysupersecretpassword
HTTP 303