Age | Commit message (Collapse) | Author | |
---|---|---|---|
15 hours | use configured tile layers for trackmap | Daniel Schadt | |
15 hours | cache & generate trackmap when uploading a track | Daniel Schadt | |
2024-11-25 | update dependencies | Daniel Schadt | |
2023-11-13 | add docstring | Daniel Schadt | |
2023-11-13 | add tests for disabled image uploads | Daniel Schadt | |
2023-11-13 | make test app fixture module-scoped | Daniel 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-07 | update dependencies | Daniel 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-14 | fix tests | Daniel Schadt | |
2023-08-30 | add test for favourite on detail page | Daniel Schadt | |
2023-08-09 | include email in user fingerprint | Daniel Schadt | |
2023-08-02 | make tileproxy test less flaky | Daniel Schadt | |
2023-06-29 | tileproxy: use caplog in the test | Daniel Schadt | |
See if it works, it might be handy for other tests in the future as well. | |||
2023-06-22 | add preliminary tileproxy test | Daniel Schadt | |
2023-05-13 | add a test for the new elevation jump transformer | Daniel Schadt | |
2023-04-01 | remove import across toplevel | Daniel Schadt | |
Python seems to do fine, but pylint complains (probably rightfully, since the tests do not represent packages). We lose type hinting for the playwright_helper, but there's probably a better way to do it in the future. | |||
2023-04-01 | add some very basic tests for profiles | Daniel Schadt | |
I'd like to have more, but this is a start (and already caught some errors, see the last two commits). | |||
2023-03-07 | wait until accordion is expanded | Daniel Schadt | |
Currently, the test seems flaky on CI due to playwright._impl._api_types.Error: Clicking the checkbox did not change its state Maybe this is the change that will fix it? | |||
2023-03-07 | tests: use .check() instead of .click() | Daniel Schadt | |
This gets the intent across clearer | |||
2023-03-07 | disable cache for transformer tests | Daniel Schadt | |
2023-03-07 | switch order of expect & assert | Daniel Schadt | |
While it shouldn't change the outcome of the test, it might make the test less flaky, as the expect call will wait until the page is loaded - which also indicates that the data is updated. Without this, the test depends on the backend being "fast enough" with applying the transformation. | |||
2023-03-07 | also test transformers when editing a track | Daniel Schadt | |
2023-03-04 | add tests for the new transformer | Daniel Schadt | |
2023-02-08 | fix transformer handling when uploading a file | Daniel Schadt | |
2023-01-03 | add tests for adding/removing friends | Daniel Schadt | |
2022-12-29 | start to move out high-level actions | Daniel 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-29 | add playwright tests for the sharing functionality | Daniel Schadt | |
2022-12-22 | add more tests for the home page | Daniel Schadt | |
2022-12-22 | reorder playwright helper structure | Daniel 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-20 | fix track deletion permission | Daniel Schadt | |
2022-12-15 | fix integration & playwright tests | Daniel Schadt | |
2022-12-14 | add test for track browsing | Daniel Schadt | |
2022-12-13 | add a test for editing tracks | Daniel Schadt | |
2022-12-10 | start with playwright tests | Daniel Schadt | |