Skip to content

Automatic tests#43

Open
scoufal wants to merge 10 commits intoarnost00:masterfrom
scoufal:Automatic-tests
Open

Automatic tests#43
scoufal wants to merge 10 commits intoarnost00:masterfrom
scoufal:Automatic-tests

Conversation

@scoufal
Copy link
Copy Markdown
Collaborator

@scoufal scoufal commented Apr 10, 2026

Reworked test and new dev and autotest environment.

No code base changes. The effective code base shall be moved in directory web later to have cleaner separation.

New environment with automatic tests with Playwright. The test are performed in separate container and do not affect other environments. The sources are shared.

Added some Playwright tests for login, access test and payement rules.

New full development environment uses docker container with Playwright, tests can be edited and started directly from visual studio code. Suitable for AI support, agents can start the tests as well.

scoufal added 10 commits April 8, 2026 12:31
- test login  as tnov_4
- on dev configuration
- uses web:10100 for internal and external access
- web has to be assigned to 127.0.0.1 in host
- check is the defined routes can be opened
- check all disallowed routes by no menu point active
- create training payrule for "Zakladní platba"
- create new race
- add users to the race
- evaluate automatic payements
- check the values
- documentation for development updated
- code shared between test, autotest and dev
- separate compose and config files
- test on db without any payement rules and some test users
…nager

- create generic payement and deposit by accountant
- transfer money as member
- transfer money as smallManager
- storno payement as accountant
- check balance after each operation
- book the changes suggested by wizard and check the member balances
- fixed oris races 9026 and 8971
- ensure participanst in members and register them for race
- check evaluated payements
- payements are not booked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant