Additionally, migrate all of the URL related helper functions from `src/utils/utils.js` to the new `src/utils/url.js` file and migrate tests. Issue MM-21835 Fixes #1206
When there is navigation with #btnClose, all APIs would fail. So such tests are marked as "skipped".