I was (temporarily) confused yesterday by my longest tourism streak being bookended by two different events. So I thought I'd write some tests to prove that the current implementation was correct. As I did this, I also thought that it would be nice to display the start and finish of a streak so that folks with very long streaks can see this at a glance without having to count.
Change
Ensures web-ext is installed (I forget this every time I work on this extension)
Documents running local unit tests (and also updated the Selenium docs)
Adds first test
Allows tests to set any field
Tests existing behaviour
Reports the start and finish events (and dates) for a tourism streak
Confirmation
Before
After
Cheers! 🍻
Thanks again for this plugin, it brings many people a lot of joy!
Context
I was (temporarily) confused yesterday by my longest tourism streak being bookended by two different events. So I thought I'd write some tests to prove that the current implementation was correct. As I did this, I also thought that it would be nice to display the start and finish of a streak so that folks with very long streaks can see this at a glance without having to count.
Change
web-ext
is installed (I forget this every time I work on this extension)Confirmation
Before
After
Cheers! 🍻
Thanks again for this plugin, it brings many people a lot of joy!