only test redirect for staging and production env
when testing via browserstack, use the data action to test pdf data