Make all tests stable #148
Labels
Component: webapp
repology-webapp, repology web application
Effort: complex
Depends on huge refactoring or a lot of missing code
Priority: someday
Normal priority
Topic: testing
Tests & CI
Type: refactoring
Internal improvements which do not change behavior
Some snapshot tests are dependent on current time and need to be fixed
graphs tests are currently ignored as they change frequently, others contain elapsed times in templates, which recently changed from 11 to 12 months (since we use dates from Jan 2024 in test fixtures), will change once again in a month and the will change every year.
To fix these, we'll need to fake current time, probably in both database and the application (however, may consider consolidating it in one place).
The text was updated successfully, but these errors were encountered: