When setting a pre-defined plan from the dropdown, the url was updated but not so the localStorage. Reloading without changing anything from the default plan meant navigating to an empty plan.
Tests
[ ] Clear localStorage, select a default plan
[ ] => Plan should be saved in localStorage
[ ] Reload site => Url and page should display previous plan
[ ] Navigate to empty url => Url and page should display previous plan
[ ] Clear localStorage, paste an old plan (containing modules FunProg or BAI14)
[ ] => Updated plan (FP and BAI21) should be saved in localStorage
[ ] Reload site => URL and page should display updated plan
[ ] Navigate to empty url => Url and page should display updated plan
Problem
When setting a pre-defined plan from the dropdown, the url was updated but not so the localStorage. Reloading without changing anything from the default plan meant navigating to an empty plan.
Tests