Skip to content

Conversation

@RobinDaugherty
Copy link

The problem I experienced is:

  1. Set a breakpoint in your UI test right after a call to e.g. MusselUniversalLinkTester.open(link)
  2. UI test runs until breakpoint is reached
  3. Mussel Server never receives the request

This is caused by the fact that URLRequest does work in another queue once the task is resumed, and by setting a breakpoint directly after resuming the task, the other queue never performs the work. The fix is to have Mussel wait until the URLRequest task completes before returning. I did this using a DispatchGroup.

I also added some debugPrint calls so that when the request is complete, there's some evidence of it in the debug logs.

to allow breakpoints to be set in the UI test directly after a Mussel request is issued.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants