Fixing the links to load the page in e2e test