aboutsummaryrefslogtreecommitdiff
path: root/tests/playwright
AgeCommit message (Collapse)Author
2023-04-01remove import across toplevelDaniel 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-01add some very basic tests for profilesDaniel Schadt
I'd like to have more, but this is a start (and already caught some errors, see the last two commits).
2023-03-07wait until accordion is expandedDaniel 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-07tests: use .check() instead of .click()Daniel Schadt
This gets the intent across clearer
2023-03-07disable cache for transformer testsDaniel Schadt
2023-03-07switch order of expect & assertDaniel 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-07also test transformers when editing a trackDaniel Schadt
2023-03-04add tests for the new transformerDaniel Schadt
2023-02-08fix transformer handling when uploading a fileDaniel Schadt
2023-01-03add tests for adding/removing friendsDaniel 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-20fix track deletion permissionDaniel Schadt
2022-12-15fix integration & playwright testsDaniel Schadt
2022-12-14add test for track browsingDaniel Schadt
2022-12-13add a test for editing tracksDaniel Schadt
2022-12-10start with playwright testsDaniel Schadt