it("sets the number of dates", async () => {
    history.push("?nr_dates=2")
    renderSettingsPanel()
    fireEvent.click(screen.getByText(/7 dates/))
    expect(history.location.search).toBe("?nr_dates=7")