Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/ember
SDK Version
10.32.1
Framework Version
ember-source 5.12
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
- Configure Ember app with
locationType: "hash" for production/development
- Set
locationType: "none" in test environment (common for Ember tests)
- Initialize Sentry with
@sentry/ember v10.32.1
- Run acceptance tests
- Error occurs:
You must pass a url that begins with the application's rootURL "/"
Expected Result
The fix in v10.32.1 should handle all location types, including "none" which is commonly used in test environments. There should be no console error when running acceptance tests.
Actual Result
Error: Assertion Failed: You must pass a url that begins with the application's rootURL "/"
Additional Context
The fix in v10.32.1 (addressing issue #18543) correctly handles hash location types, but does not account for other location types like "none" which is the standard location type for Ember test environments.
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/ember
SDK Version
10.32.1
Framework Version
ember-source 5.12
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
locationType: "hash"for production/developmentlocationType: "none"in test environment (common for Ember tests)@sentry/emberv10.32.1You must pass a url that begins with the application's rootURL "/"Expected Result
The fix in v10.32.1 should handle all location types, including
"none"which is commonly used in test environments. There should be no console error when running acceptance tests.Actual Result
Error: Assertion Failed: You must pass a url that begins with the application's rootURL "/"Additional Context
The fix in v10.32.1 (addressing issue #18543) correctly handles hash location types, but does not account for other location types like
"none"which is the standard location type for Ember test environments.Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it.