aboutsummaryrefslogtreecommitdiff
path: root/tests/playwright/conftest.py
AgeCommit message (Collapse)Author
2023-11-13make test app fixture module-scopedDaniel Schadt
Previously, we had it session-scoped, which meant that the app was created once for all tests. This doesn't allow us to play with different settings however, such as disabling account registration or image uploads and testing that. Now, the fixtures are module scoped, which means that we still save on prepare/teardown time a bit, but we're also a bit more flexible. By making new test modules, we can test different settings there.
2023-11-07update dependenciesDaniel Schadt
The most "painful" one was Pydantic V2, not because it didn't work, but because I wanted to do it right and not use the deprecated methods.
2023-09-14fix testsDaniel Schadt
2023-08-09include email in user fingerprintDaniel Schadt
2023-02-08fix transformer handling when uploading a fileDaniel Schadt
2022-12-29start to move out high-level actionsDaniel Schadt
This is code that needs to be repeated in possibly several places (website, API, tests), so it makes sense to have those "high level actions" a bit abstracted. edit.edit_images was already doing that to a certain degree, but the code shouldn't have stayed in the view.
2022-12-29add playwright tests for the sharing functionalityDaniel Schadt
2022-12-22add more tests for the home pageDaniel Schadt
2022-12-22reorder playwright helper structureDaniel Schadt
To add more playwright tests and to cut down on the duplicated code, the helper methods have been put into a small class. This way, we don't have to add 100 pytest fixtures.
2022-12-10start with playwright testsDaniel Schadt