Skip to content

fix confs test, add pres. test, fix filters

Johannes Gaessler requested to merge test-presentations into master

This PR changes:

  • The dummy tests for conferences were broken in the sense that the database was empty so the list of actually tested conferences was empty. They are now fixed. Prior to running the tests the database contents are dumped to JSON which can then be read in again for each test.
  • New tests for the presentations page. Same scheme as for the conferences page: simple dummy tests for the filters, a single more elaborate Slenium test to simulate a user interaction.
  • The date filters were using the > operator instead of the >= operator. I changed this to >= because for "date" and "start date" you would typically want to enter the exact date.
  • I fixed the presentation speaker filter. It now filters the presentations to include all where the string is either in "<FIRST_NAME> <LAST_NAME>" or "<LAST_NAME>, <FIRST_NAME>".

Merge request reports