Commit graph libervia-backend/tests/e2e
Author SHA1 Message Date
Goffi
14d00a9dda merge bookmark @ 2021-11-12 17:21:24 +01:00
Goffi
b374f17eb6 tests (e2e/web): add basic tests for generic lists 2021-11-05 18:11:24 +01:00
Goffi
b7c1579919 tests (e2e/run_e2e): fix inappropriate use of -T option 2021-11-05 18:11:24 +01:00
Goffi
041e877e48 merge bookmark @ 2021-09-08 18:00:02 +02:00
Goffi
33d452e0cc tests (e2e/CLI): tests for Pubsub Cache Search
fix 361
2021-09-08 17:58:48 +02:00
Goffi
9753dd5354 tests (e2e): print revision used in run_e2e 2021-09-08 17:57:28 +02:00
Goffi
9293c7259d tests (e2e/cli): update JSON and XML outputs following changes in Libervia CLI 2021-09-08 11:18:01 +02:00
Goffi
29e76c1adb test (e2e/cli): use max_items instead of max when retrieving blog items:
RSM `max` alone will return first (oldest) items, while `max_items` will return latest
ones. As Libervia Pubsub as been fixed in this regard, tests are now fixed too.
2021-09-08 11:17:51 +02:00
Goffi
6b2e0649a3 tests (e2e/web): fix test files paths following global name change 2021-09-08 11:17:43 +02:00
Goffi
debbdba8eb tests (e2e): fix names in run_e2e script, following global name change. 2021-09-08 11:17:34 +02:00
Goffi
a6bf268df0 tests (run_e2e): update tmp dir prefix following name change 2021-08-27 14:48:39 +02:00
Goffi
adb09a719f tests: update following names change 2021-04-16 18:32:34 +02:00
Goffi
018d09caaa Renamed the project from "Salut à Toi" to "Libervia":
This renaming follows the decision taken at the General Assemblee of January 27th 2021 (cf.
https://repos.goffi.org/sat_docs/raw-file/tip/association/2021-01-27%20-%20compte%20rendu%20de%20l%27AG%20extraordinaire.pdf)
2021-03-20 20:42:04 +01:00
Goffi
dc86957043 date update 2021-03-19 15:45:14 +01:00
Goffi
50fd4f48d0 tests (e2e/libervia): more stable test_user_can_log_in + photos tests 2020-12-04 12:39:44 +01:00
Goffi
b034e46543 tests (e2e): new fixture to share data between tests:
this is usefull in some edge cases when tests are dependents of each other.
2020-12-04 12:38:38 +01:00
Goffi
7527b54bd7 tests (e2e/libervia/conftest): new log_in_account1_s2 fixture 2020-12-04 12:36:06 +01:00
Goffi
0328129b98 tests (e2e/conftest): create a test account on server3.test 2020-12-04 12:35:00 +01:00
Goffi
736f91e557 tests (e2e/conftest): check new exit code for conflict to avoid crashing if test accounts already exist 2020-12-04 12:34:24 +01:00
Goffi
fb216829c3 tests, docker(e2e): added e2e tests for Libervia:
- moved jp tests to `e2e/jp`
- new fixtures
- adapted docker-compose
- improved `run_e2e` with several flags + report on failure
- doc to come
2020-11-27 16:39:40 +01:00
Goffi
fffc08be54 tests: end-2-end tests first draft:
- e2e tests are launched inside the new docker e2e test environment
- `run_e2e.py` launch the docker container, mount the current code base in it, launch the
  e2e tests and print report in real time
- `conftest.py` are pytest fixtures managing many things such as account creation, fake files
  management, JSON or Domish.Element parsing, fake editor, etc.
- `test_jp.py` are end-to-end test done with `jp`. `sh` library is used to make tests
  writting as user-friendly as possible. The `SAT_TEST_ENV_E2E` environment variable is
  checked, and tests will be skipped if it's not set.
2020-11-12 14:53:16 +01:00