assets/origin-search: Rework latest origin visit processing code
Handle 404 error code when querying /origin/visit/latest/ API endpoint.
Move error handling in a catch block.
Add missing cypress test.
Migrated from D5111 (view on Phabricator)
Staging instance, all changes can be removed at any time
Handle 404 error code when querying /origin/visit/latest/ API endpoint.
Move error handling in a catch block.
Add missing cypress test.
Migrated from D5111 (view on Phabricator)