-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(odd): pretend to be online all the time #13746
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## chore_release-7.0.1 #13746 +/- ##
=======================================================
- Coverage 71.24% 71.23% -0.01%
=======================================================
Files 2429 2430 +1
Lines 68430 68443 +13
Branches 8040 8040
=======================================================
+ Hits 48755 48758 +3
- Misses 17776 17786 +10
Partials 1899 1899
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, what a journey
@@ -257,7 +261,7 @@ export const OnDeviceDisplayApp = (): JSX.Element => { | |||
|
|||
// TODO (sb:6/12/23) Create a notification manager to set up preference and order of takeover modals | |||
return ( | |||
<ApiHostProvider hostname="localhost"> | |||
<ApiHostProvider hostname="127.0.0.1"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess this doesnt hurt but probably not necessary anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah... i like having it though
For some reason, when the ODD starts and the robot boots while not connected to any network, some (some!) requests to localhost will fail. It's really strange. One thing that seems to help is pretending to be online by overriding the
navigator.onLine
browser api to always return true.Testing
Closes RQA-1754