Skip to content

Conversation

@mykola-mokhnach
Copy link

@mykola-mokhnach mykola-mokhnach commented May 15, 2023

Addresses #702

The behaviour described there is a genuine XCTest bug. It just freezes the [XCUIApplication launch] call if the given bundle identifier is not a valid (installed) one.

So I added a workaround for it to throw a valid exception instead

@mykola-mokhnach mykola-mokhnach changed the title fix: Assert app is installed before launching, activating or terminating it fix: Assert app is installed before launching or activating it May 15, 2023
Copy link
Member

@KazuCocoa KazuCocoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it makes sense

@mykola-mokhnach mykola-mokhnach merged commit 94e5c51 into master May 15, 2023
@mykola-mokhnach mykola-mokhnach deleted the launch_err branch May 15, 2023 18:30
github-actions bot pushed a commit that referenced this pull request May 15, 2023
## [5.1.1](v5.1.0...v5.1.1) (2023-05-15)

### Bug Fixes

* Assert app is installed before launching or activating it ([#704](#704)) ([94e5c51](94e5c51))
@github-actions
Copy link

🎉 This PR is included in version 5.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@KazuCocoa
Copy link
Member

hm, maybe this logic always? raise an error for a real device

@KazuCocoa KazuCocoa restored the launch_err branch May 16, 2023 09:44
@KazuCocoa KazuCocoa deleted the launch_err branch May 16, 2023 09:44
KazuCocoa added a commit that referenced this pull request May 16, 2023
mykola-mokhnach pushed a commit that referenced this pull request May 16, 2023
github-actions bot pushed a commit that referenced this pull request May 16, 2023
## [5.1.3](v5.1.2...v5.1.3) (2023-05-16)

### Bug Fixes

* Revert "fix: Assert app is installed before launching or activating it ([#704](#704))" ([#705](#705)) ([00baeb2](00baeb2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants